Ovah
7084e0c360
Core/Spells: added a helper to reset proc cooldowns ( #22137 )
...
(cherry picked from commit c48a596c66 )
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 6cf12bcb4c )
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 15ab24756d )
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 15ab24756d )
2021-10-17 01:33:12 +02:00
Treeston
48ce1965ba
visibility range check, fac4700 follow-up
...
(cherry picked from commit b7c0f1961c )
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 fac470014b )
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 c031167e06 )
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 7c2fb9c7aa )
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 2351d02930 )
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 330d85bd63 )
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 64a61e03ab )
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 9c5fffb4c5 )
2021-10-14 19:40:05 +02:00
Treeston
3418a33a87
Misc: Pass std::chrono types by value everywhere.
...
(cherry picked from commit 2ef9d301f0 )
2021-10-14 19:39:42 +02:00
Treeston
ab5792a33a
Scripts/Commands: Demangled typeinfo of f7466c2 for gcc/cmake
...
(cherry picked from commit f93cb448f1 )
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 f7466c28a5 )
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 0c476ff9e0 )
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 e114939071 )
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 c9b09fc2cb )
2021-10-14 18:59:24 +02:00
Maphaze
22298fb172
Core/GameObjects: Fixed DestroyGate battleground hook for vehicles ( #22145 )
...
(cherry picked from commit 2ef3315848 )
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 0004531081 )
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
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
ModoX
1673b6e2ff
Core/Spells: Implemented SPELL_EFFECT_CANCEL_CONVERSATION ( #27037 )
2021-10-11 14:50:04 +02:00
Shauren
d7302ffd14
Core/Scenes: Implemented spell created SceneObjects
2021-10-11 12:59:19 +02:00
Shauren
8492c273dd
Core/Spells: Implemented SpellReagentsCurrency.db2
2021-10-10 19:12:17 +02:00
Shauren
8147a42aef
Core/Spells: Corrected spell visual fallback logic for spell difficulty entries
2021-10-10 19:02:52 +02:00
Shauren
2965d201ab
Core/Spells: Changed Spell::SendCastResult arguments to signed ints to match packet structure
2021-10-10 19:00:02 +02:00
Shauren
d2dcce09d7
Core/SAI: Fixed SMART_ACTION_EQUIP to properly set values in all slots (cherry-pick error)
2021-10-10 14:22:18 +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 16f524ff25 )
2021-10-07 21:25:57 +02:00