Commit Graph
25747 Commits
Author SHA1 Message Date
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
Treeston d3f93bcc26 Spells/Auras: Properly handle negative health modifiers on application. Closes #22211.
(cherry picked from commit 41982aa300263b2c8faedfb88015d31e0ee3161a)
2021-10-19 23:41:07 +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
Treeston 0aee79dfb8 AI/SmartScripts: Replace SMART_ACTION_INVOKER_CAST with SMART_ACTION_SELF_CAST in action 85. SMART_ACTION_INVOKER_CAST moves to 134.
(cherry picked from commit 0df3cb5bcc8097070b1f215032d3914d6a577f01)
2021-10-17 22:07:54 +02:00
Treeston a2d266edf3 AI/SmartScripts: Warn on startup for ACTION_INVOKER_CAST without invoker (same as invoker targets)
(cherry picked from commit a3c85c8a2b625375d7d320cc1dc2b87e909b4bdf)
2021-10-17 20:14:45 +02:00
Ovah 7084e0c360 Core/Spells: added a helper to reset proc cooldowns (#22137)
(cherry picked from commit c48a596c66c075c876c860a7d5c036d033de0b9d)
2021-10-17 18:41:27 +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
Treeston 48ce1965ba visibility range check, fac4700 follow-up
(cherry picked from commit b7c0f1961c8800ff96e55b42df4448bdfc65092e)
2021-10-17 01:30:05 +02:00
Treeston f7e5931b49 Core/Maps: Continue updating creatures that own auras applied to players. Closes #22110.
(cherry picked from commit fac470014b4b97060a22c346aadfaf9c03b99ff2)
2021-10-17 01:11:51 +02:00
Treeston 6d2423b733 Core/Movement: Properly resume chase/follow movement if it was paused by a spell cast. Closes #21900.
(cherry picked from commit c031167e067dd0903c6fa4db4ea88cd5279039d2)
2021-10-17 01:10:25 +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
Meji 7c15ec00c7 Core/BattlePets: Fixes when adding pets (#27076)
* Add pet when learning it for the first time (summon spell not known).
* Removed code that adds battle pet if its summon spell is known (Learn cageable pet -> Cage pet -> Log out -> Log in -> Pet is added).
* When uncaging check that the species has a summon spell before trying to learn it.
2021-10-17 00:11:48 +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
Shauren 3e81db7b93 Core/Auras: Implemented SPELL_AURA_CAST_WHILE_WALKING_BY_SPELL_LABEL and SPELL_AURA_CAST_WHILE_WALKING_ALL 2021-10-16 18:44:59 +02:00
Shauren d0aa599052 Warning fix 2021-10-16 18:09:57 +02:00
Shauren 6e4a90d274 Core/Spells: Implemented SPELL_AURA_SUPPRESS_ITEM_PASSIVE_EFFECT_BY_SPELL_LABEL 2021-10-16 16:43:13 +02:00
Shauren 95e2185094 Core/Spells: Fixed loading spell labels 2021-10-16 16:42:49 +02:00
ModoX e63c5e4253 Core/Chat: Added new TextRange personal to creature_text which sends the message to related target only (#27070)
* also updated creature_texts of Vigilant Quoram in Lightforged Intro zone as an example
2021-10-16 15:02:40 +02:00
Shauren 145a75dea6 Core/Items: Replace assert with null check in Player::ApplyEquipCooldown
Closes #27069
2021-10-16 13:28:19 +02:00
Shauren 6b69338990 Core/Items: Refactored learning spells from items to check for ITEM_SPELLTRIGGER_LEARN_SPELL_ID instead of hardcoded spell ids 2021-10-16 13:22:42 +02:00
Shauren 047117fe9f Core/BattlePets: Fix field index in BattlePetMgr::LoadFromDB 2021-10-16 12:21:04 +02:00
Meji 11cc5c0d3b Core/BattlePets: Misc fixes (#27057)
* Rename WorldPackets::BattlePet::BattlePet::CollarID to WorldPackets::BattlePet::BattlePet::DisplayID
* Use the DisplayID field to store the model of the battle pet. If the species has BattlePetSpeciesFlags::RandomDisplay, nothing is stored. Otherwise a random model is chosen from those available
* Stored DisplayID in ITEM_MODIFIER_BATTLE_PET_DISPLAY_ID when caging the battle pet (previously the CreatureID was being stored)
* Modified SendPlaySpellVisual function to allow sending Target and TargetPosition at the same time
* Added SpellVisual when uncaging
2021-10-16 12:15:03 +02:00
ModoX 68c2fc8ff5 Core/Characters: Made homebind location a WorldLocation (this implicitly adds orientation) (#27055) 2021-10-16 01:17:47 +02:00
Meji 82b3a409db Core/BattlePets: Store declined names (#27025) 2021-10-16 00:48:54 +02:00
Shauren 518c86f9ac Core/Bnet: Fixed changing realms from character list
Closes #27063
2021-10-15 22:16:40 +02:00
Shauren c59937a835 Core/DataStores: Fixed ItemSparse.db2 structure
Closes #27065
2021-10-15 21:32:36 +02:00
Shauren 990e4d8657 Core/Spells: Fixed Righteous Defense crash caused by modifying target list inside effect handler
* Already handled in a script

Closes #22158

(cherry picked from commit 2351d0293085873bde656bf93d717a793a0dcd69)
2021-10-15 00:16:43 +02:00
killerwife ca37b98fb8 Core/PacketIO: Fixed SMSG_GUILD_BANK_LIST packet payload for enchantments and sockets (#22177)
Credit for reversing goes to Laizerox

(cherry picked from commit 330d85bd6362cd3f66dbea72389102449484f8a7)
2021-10-15 00:16:13 +02:00
Treeston 839d30e93b Common/Containers: Eliminate a edge case that could potentially lead to object invalidation.
(cherry picked from commit 64a61e03ab0799b5437ddb9fe702c4912f3f9dd9)
2021-10-15 00:10:10 +02:00
Treeston eb7a8584e2 Core/GameObject: Fix an edge case where GOs might never respawn after being manually despawned. Closes #21792.
(cherry picked from commit 9c5fffb4c51fb53a105b20c97eab19e2ff252788)
2021-10-14 19:40:05 +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
Treeston 3e22c70c27 Core/PassiveAI: Fix an incorrect check that was inducing evade spam with critters. Closes #19998, for real this time.
(cherry picked from commit 0c476ff9e00e95d0b159dc2de701acb34976131c)
2021-10-14 19:16:54 +02:00
Gildor af26380d9b Core/Spells: Shadow of Death & Spiritual Vengeance should be negative spells (BlackTemple/Teron Gorefiend) (#22164)
Closes: #22160
Closes: #22161
(cherry picked from commit e114939071fe0aa09491c2f4ebbb3cf4f3aa5fd9)
2021-10-14 19:16:52 +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
Maphaze 22298fb172 Core/GameObjects: Fixed DestroyGate battleground hook for vehicles (#22145)
(cherry picked from commit 2ef33158486831aa061050f5cc7d316fee17721d)
2021-10-14 00:11:29 +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 94aca04c3b Core/Player: Added SendPlayerBound method 2021-10-13 19:33:19 +02:00
ModoX 4a6308f5f0 Core/Units: Added possibility to send emotes to single players (#27054) 2021-10-13 15:01:10 +02:00
Shauren 49eb3cf8fe Core/Spells: Implemented SPELL_EFFECT_TELEPORT_WITH_SPELL_VISUAL_KIT_LOADING_SCREEN 2021-10-13 11:49:30 +02:00
Shauren 322a71dfb2 Core/Players: Allow disabling creating characters in Exile's Reach by disabling map 2175 2021-10-12 21:17:28 +02:00
Shauren b6b46924f6 Core/Scripts: Make ObjectMgr::LoadScriptNames safe to call multiple times 2021-10-12 16:09:47 +02:00