Commit Graph
5857 Commits
Author SHA1 Message Date
Full-Stack Developer e520b45270 Scripts/VoA: Archavon no longer leaps in melee range (PR #22414)
(cherry picked from commit 3c5b1f025846d1bf9d441ba1a58c26aa574cac62)
2021-10-26 23:57:58 +02:00
Aokromes 3621482e44 kill some whitespaces
(cherry picked from commit cc49b7bb3024c6eb36d9bbbe7b151d7ae9ba91b7)
2021-10-26 23:55:38 +02:00
Treeston f91faa161c Core/ChatCommands: Implement achievement link parsing
(cherry picked from commit a4c666dc3d75d0c77fdeb52a6d2cd21100ba4588)
2021-10-25 15:06:41 +02:00
Treeston 33c8df9cf1 Scripts/Commands: Rewrite .account commands to new model
(cherry picked from commit c59388783a6009301548dae2c29e2a29c71aadf7)
2021-10-25 14:16:49 +02:00
Treeston 0c681b6509 Scripts/Commands: New argument parsing methodology (PR #22363)
- Detect the arguments accepted by the command handler
- Tokenize out those arguments automatically and feed them to the handler
- Unmatched rest of the string can be accepted by trailing char const* or CommandArgs*

(cherry picked from commit 66a87c4642d25f27ca24254cfeb0a0c4b21036b1)
2021-10-25 00:03:23 +02:00
Treeston f1ecb976ec Core/RBAC: Simplification part 1. Nobody needs different permissions for each type of .go command.
(cherry picked from commit 5843724debc3642434c055e5cf6f29a1eaf65358)
2021-10-23 22:31:27 +02:00
Keader bb599a9521 Scripts/Ulduar: Algalon the Observer fixes (#22320)
(cherry picked from commit ca7ee982db4d25c464acf6daadc150d58dafa016)
2021-10-23 21:58:25 +02:00
Treeston af8b4853da Scripts/Commands: Cleanup and trinity_string for .go instance. Hi shauren.
(cherry picked from commit 8e4f6777a28ac7b5d59ff1ff852e5184d877ff96)
2021-10-23 19:53:19 +02:00
Treeston 82ecd32d9c Scripts/Commands: New command ".go instance". Goes to an instance.
(cherry picked from commit 6a0870a9993f5a1016439644d4a9ab3fd89277e5)
2021-10-23 19:08:53 +02:00
Keader 2342361746 Scripts/Misc: Removed more UpdateEntry on InstanceScripts
(cherry picked from commit c78f454c0ee74000ab7f77463e8b44ff7480fdec)
2021-10-23 16:14:01 +02:00
Keader 5612a05f3f Scripts/ICC: Removed not needed entrys added in last commit
(cherry picked from commit 7ab8a8b70b6bce42574d6dc9f92156b071ee402f)
2021-10-23 16:12:52 +02:00
Keader a1ec8ff54b Scripts/ICC: Fixed Deathbringer after Delay zone script's OnCreatureCreate
Also removed some UpdateEntry hacks
Followup: b4a1887c4d8df5a7729ed5c4126f6a7655a02127

(cherry picked from commit 92f260c5f9ffbd21c561f16c9ce9e52cbee289b8)
2021-10-23 16:12:28 +02:00
Treeston dd239e8b0f Scripts/Commands: .npc info now includes react state info
(cherry picked from commit 2c030ed5e7dc809e384415716789e0a663352d16)
2021-10-23 14:33:21 +02:00
ModoX 437fb2aaba Core/CreatureTexts: Added new field SoundPlayType to enable usage of ObjectSounds within creature_text (#27136)
* Also adjusted Vigilant Quoram texts to use ObjectSounds
2021-10-23 13:10:32 +02:00
Treeston 392a644dc8 Core/Threat: Threat system adjustments:
* Online states are now re-evaluated before victim update instead of continuously. Closes #22226. Tagging #21501.
* Victim update now happens every 1s as opposed to every server tick unless current target goes away.
* Suppressed threat is no longer re-established until the victim gains additional threat (by hitting the target, for instance).
* Assistance threat is now split between non-controlled units threatened by target, as opposed to all units threatened by target.

(cherry picked from commit 5cea572a9ad524c6f28ff8519bee61d1ff4357d0)
2021-10-23 02:14:04 +02:00
PolarCookie 9dd2748618 DB: Naxxanar and Voltarus teleporters
Closes #22311

(cherry picked from commit 151ed6f684b47053192d75ea30b0b3b9838b6120)
2021-10-23 02:14:04 +02:00
Keader 0feb1592bf Scripts/Uduar: XT002 Rework (#21566)
Closes #21489

(cherry picked from commit 81a6e2e5101834b4f8950ea8ecc728f5548ab906)
2021-10-23 02:14:02 +02:00
Keader 37c9553372 Scripts/Black Temple: Fixed some issues on Illidan
(cherry picked from commit 0ebb315d6ce420c534dcef9c3af1cbad43c88096)
2021-10-23 00:22:53 +02:00
Treeston a5989dcee9 Core/Unit: Store charmer and charmed pointers on Unit directly, no more map lookups for Unit::GetCharmer and Unit::GetCharmed
(cherry picked from commit d4ef2529e91043bc719c3238714413fd21c9005c)
2021-10-23 00:11:44 +02:00
Treeston e4e8c1c59c Core/AI: Clean up charm AI handling, we now have two unique_ptr instead of a crapton of booleans
(cherry picked from commit 042f5515e4f3e52b0d2e23d9b9e147041849ce12)
2021-10-22 23:47:51 +02:00
ZenoX92 eb241db187 DB/Quest: Move the Sunken Treasure to SAI
Closes #22290

(cherry picked from commit 42fec4a698d0a4b51277d5ad3f484e195eda1d5d)
2021-10-22 21:50:04 +02:00
DanVS 1195e2cf1a Scripts/Scarlet Enclave: Death Comes From On High
(cherry picked from commit afc25d22ef2c08d55e28e41778c6867dd2b2577d)
2021-10-22 21:38:42 +02:00
Treeston 5d48e8db7d Core/AI: Remove unnecessary parameter from DoZoneInCombat after eb1972f
(cherry picked from commit c00a2efb21356eb4105cb7db9112c708762d9191)
2021-10-22 13:29:34 +02:00
Seyden 8f097e4425 Core/Scripts: Implement script name reloading
* Authored by Seyden
* Co-authored by Naios
* We thank Shauren for your helpful feedback
2021-10-22 12:52:37 +02:00
Treeston 6a5edf0472 Core/AI: Some cleanup to DoZoneInCombat and Malygos' AI that I found while working out #22226.
(cherry picked from commit eb1972f21d6e79da32a89cb58c5c28eb98b0a4fb)
2021-10-22 00:48:20 +02:00
Keader 539fcb1862 Scripts/Trial Of The Crusader: Fixed Anub'arak Pursuing Spikes
Closes #21420

(cherry picked from commit 8b9d18f29ca5febf27328634ef1323ea890b40c4)
2021-10-21 23:13:53 +02:00
Shauren cf4ec52d39 Core/Commands: Fixed .damage command to work with spell schools caused by bad strtok usage
Closes #22280

(cherry picked from commit bc3da555fea74fba6902bd0d2dfda773116c196a)
2021-10-21 00:18:13 +02:00
Treeston abaf5d8068 Scritpts/Commands: Fix area name display if no area present. Closes #21727.
(cherry picked from commit 2a50f9202bc36faf2b8b48cf52f2f86d974a4544)
2021-10-21 00:17:59 +02:00
ZenoX92 c16164f68d DB/Quest: The Missing Diplomat (Part 16)
Closes #22261

(cherry picked from commit cbacc72d934c10448762b67a0fa97ea4eb38cb63)
2021-10-21 00:05:14 +02:00
ZenoX92 20224aef17 DB/Quest: Cleansing Witch Hill
Closes #22262

(cherry picked from commit 25d7b7c819048d0c2d62b61dc47624735935a5f3)
2021-10-20 00:30:28 +02:00
Shauren 8a309542ce Scripts/Commands: Fix .quest complete to properly work with PvP kill quests 2021-10-19 23:46:09 +02:00
illfated 5cafc211e6 Scripts/Eastern Kingdoms: zone_wetlands converted to SAI cleanup (#22252)
(cherry picked from commit 59edf6b100a9092cd530af6cab2b68a84ecd11f0)
2021-10-19 23:38:02 +02:00
Shauren 2dbd83789b Scripts/Icecrown Citadel: Fixed target selection for Vampiric Bite and Blood Mirror after threat rewrite
Closes #21537

(cherry picked from commit 6cf12bcb4cb516f2564df264838c60e49c3857be)
2021-10-17 16:28:52 +02:00
DanVS 3503e9dc92 Scripts/Pets: Some cleanup for Snake Trap. Tagging #21847, though this doesn't address it (yet).
(cherry picked from commit 15ab24756dab76066bc24ca2a8c3289afbe836c0)
2021-10-17 01:40:21 +02:00
Treeston 5d08e13108 Scripts/Pets: Some cleanup for Snake Trap. Tagging #21847, though this doesn't address it (yet).
(cherry picked from commit 15ab24756dab76066bc24ca2a8c3289afbe836c0)
2021-10-17 01:33:12 +02:00
Killyana cefd86e330 Creature/Script: Add missing emote to Princess Moira Bronzebeard
Closes #22182

(cherry picked from commit 7c2fb9c7aa3eaab5f662c24a6e2e6acd8efbbe52)
2021-10-17 00:54:40 +02:00
Shauren ba4fa060d7 Core/Auras: Implemented SPELL_AURA_ADD_PCT_MODIFIER_BY_SPELL_LABEL and SPELL_AURA_ADD_FLAT_MODIFIER_BY_SPELL_LABEL 2021-10-16 22:05:02 +02:00
ModoX 68c2fc8ff5 Core/Characters: Made homebind location a WorldLocation (this implicitly adds orientation) (#27055) 2021-10-16 01:17:47 +02:00
Treeston 3418a33a87 Misc: Pass std::chrono types by value everywhere.
(cherry picked from commit 2ef9d301f0869b443122e2ba543af054c5b0e53c)
2021-10-14 19:39:42 +02:00
Treeston ab5792a33a Scripts/Commands: Demangled typeinfo of f7466c2 for gcc/cmake
(cherry picked from commit f93cb448f1d8b8346dff13fffacfd3c9f85edde0)
2021-10-14 19:18:16 +02:00
Treeston c4458dd08e Scripts/Commands: .npc info and .gobj info now show runtime AI typenames in addition to AIName/ScriptName.
Trying to figure out what base AI type a given creature is using has annoyed me one too many times (hi there, e8f9068).

(cherry picked from commit f7466c28a5f2c2acd2669991cb3a666c997aafab)
2021-10-14 19:16:54 +02:00
Keader f78c1bed5d Scripts/Black Temple: Removing double hook call in Spiritual Vengeance
(i realy dont remember why i did it lol)

(cherry picked from commit c9b09fc2cbba9ec8bda124b73bd081581e7bfadc)
2021-10-14 18:59:24 +02:00
illfated 550513ba65 Creature/Script: remove obsolete script npc_skywing (#22147)
- replaced with SAI script for the same quest and creature (Skywing)

Ref. https://github.com/TrinityCore/TrinityCore/issues/22078#issuecomment-399760597

(cherry picked from commit 0004531081058a2a4d7a1fbe94545e9328ce7d61)
2021-10-14 00:09:17 +02:00
ModoX ece3a8036e Scripts/DK: Fixed Defender of Azeroth quest
* added graveyard in case someone wants to die there
* added serverside spells to handle death gate usage properly (including bind points)
* added SmartAI script to Mograine for Defender of Azeroth quest
2021-10-13 19:33:19 +02:00
ModoX 6d9ce8e8ba Core/PacketIO: Implemented CMSG_CONVERSATION_LINE_STARTED (#27036)
* Added OnConversationLineStarted hook to ConversationScripts
* Added example for Defender of Azeroth conversation
2021-10-12 00:16:20 +02:00
Shauren 3fe9b0a296 Core/Conversations: Replace _participants with generic personal object implementation 2021-10-09 13:30:47 +02:00
killerwife de326d789e Core/Unit: Name and implement UNIT_FLAG_NON_ATTACKABLE_2 (PR #22087)
(cherry picked from commit 16f524ff2537646417d1150ef3bdab8e4cc8a2b1)
2021-10-07 21:25:57 +02:00
Shauren 98aef67c11 Scripts/Spells: Fixed crash in spell_pri_prayer_of_mending 2021-10-07 19:55:25 +02:00
ModoX 45b4910c96 Scripts/Spells: Core/Spells: Fixed Consecration damage, implemented Hammer of the Righteous, partly implemented Consecrated Ground talent (#27005) 2021-10-05 22:50:40 +02:00
ModoX 00dd4629bd Core/Scenes: Defined more flags and implemented FadeToBlackscreenOnCancel (#26975) 2021-10-05 22:36:22 +02:00