Commit Graph

38493 Commits

Author SHA1 Message Date
Shauren cbcd149ce5 Core/Misc: Explicitly include required headers instead of relying on them to be included by other headers 2022-02-11 14:33:35 +01:00
Teleqraph 5b02c53fc5 Scripts/Spells: Fixed mage Blizzard (#27722)
* we do not have a dummy periodic aura to obtain our period, so we're setting 1s as it always ticks once per second.
* haste doesn't affect Blizzard: https://us.forums.blizzard.com/en/wow/t/starfall-damage-doesn%E2%80%99t-scale-with-haste-why/854619
2022-02-11 00:12:40 +01:00
Teleqraph c69e003695 Scripts/Spells: Fixed Power Word: Shield (#27721) 2022-02-10 23:34:13 +01:00
Shauren d16f5ab777 Scripts/Spells: Fixed holy paladin talent Awakening 2022-02-10 22:58:56 +01:00
Shauren f1cde4cdac Core/Players: Don't load spell overrides for inactive specializations 2022-02-10 22:47:51 +01:00
Shauren d92f25478a Core/Spells: Ignore existing cooldown for spells using TRIGGERED_IGNORE_SPELL_AND_CATEGORY_CD instead of only skipping setting new cooldown 2022-02-10 22:01:52 +01:00
Shauren 02979daf76 Core/Auras: Proc flag updates
* Rename to official names
* Corrected logic selecting flags for each spell cast - determine them by attributes instead of DmgClass
* Implemented new proc flags (PROC_FLAG_CAST_ENDED, PROC_FLAG_LOOTED)
2022-02-10 21:11:07 +01:00
Shauren 7295bfb6a0 Core/Spells: Implemented using db2 PositionFacing for SPELL_EFFECT_LEAP_BACK
Closes #19717
2022-02-10 18:20:38 +01:00
Teleqraph 9e7f465fc2 Scripts/Spells: Fixed Divine Purpose (#27719)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-02-10 15:58:00 +01:00
Shauren 7ff411013c Core/Auras: Implemented ProcFlags2 2022-02-10 12:38:31 +01:00
Shauren 68a662ae04 Core/Spells: Add type safety to proc related functions - using enum arguments instead of plain integers 2022-02-10 12:25:27 +01:00
Shauren f4cf0ecad6 Core/Utils: Made bool conversion operator of FlagsArray explicit 2022-02-10 12:24:47 +01:00
Shauren 3844c79adb Core/Spells: Load entire proc flags array from db2 2022-02-09 23:46:29 +01:00
Shauren 5c417bec98 Core/Utils: Extract template base class out of flag128 2022-02-09 23:11:03 +01:00
Shauren ed2fa95d83 Dynamic build fix 2 2022-02-09 16:14:08 +01:00
Shauren e2cda8ae4b Dynamic build fix 2022-02-09 14:29:29 +01:00
Meji 27cba3f523 Core/Scripts: Added script hook to execute actions after completing an achievement (#27718) 2022-02-08 23:23:05 +01:00
Shauren 8e2d1e328e Core/Spells: Pass cast item level to triggered spells
* Fixes value on trinkets like Ignition Mage's Fuse
2022-02-08 21:36:31 +01:00
funjoker d3fc34a203 DB/Hotfixes: Update hotfixes to 42010 2022-02-08 18:56:56 +01:00
Shauren 5bf9a01648 Core/Conditions: Add missing null checks for PlayerCondition 2022-02-08 15:32:12 +01:00
Shauren 7efc3df815 Core/Conditions: Fixed PlayerCondition checking after std::arrayification of DB2Structures 2022-02-08 14:50:44 +01:00
Shauren 25b84e5e7b Core/Spells: Fixed TARGET_UNIT_TARGET_ALLY_OR_RAID targeting 2022-02-08 12:04:09 +01:00
Seyden 79c6054369 Core/Objects: Use player as summoner for personal clones (#27716)
* This allows clones to properly inherit phases
2022-02-08 00:03:02 +01:00
ModoX 42428a0898 DB/Spawns: Added accidently deleted spawn of Captain Garrick
* was deleted in https://github.com/TrinityCore/TrinityCore/commit/c4fedd10ab2f5dba3eed57bdba0d6c46c67614a2
* originally added in https://github.com/TrinityCore/TrinityCore/commit/53429375c7dfee2e8e0bda09a7dba66c67d787f3
2022-02-07 22:49:21 +01:00
Seyden 66509502f4 Core/Spells: Implement CAST_FLAG_EX_IGNORE_COOLDOWN - causes spells to not automatically trigger cooldown clientside (#27717) 2022-02-07 21:25:27 +01:00
Aqua Deus d22d461633 Core/Spells: Implement SPELL_ATTR7_NO_ATTACK_DODGE, SPELL_ATTR7_NO_ATTACK_PARRY and SPELL_ATTR7_NO_ATTACK_MISS (#27715)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-02-07 20:53:32 +01:00
Aqua Deus 2ae67de4c0 Core/Spells: Implement SPELL_ATTR7_BYPASS_NO_RESURRECT_AURA (#27714) 2022-02-07 20:08:55 +01:00
Teleqraph ef61f39018 Scripts/Spells: Fixed Art of War (#27712) 2022-02-07 20:00:51 +01:00
Aqua Deus 7192da410d Scripts/Spells: Fix mage Comet Storm (#27710) 2022-02-07 16:49:18 +01:00
Shauren db8280a0fb Core/Transports: Add missing null pointer check in Transport::SummonPassenger 2022-02-07 12:50:48 +01:00
Seyden 20af35fd13 Core/Creatures: Add summoned creatures to summoners transport (#27708) 2022-02-07 12:49:45 +01:00
Aqua Deus e64e6f4963 Scripts/Spells: Fixed Icefury talent proc and frost shock energize (#27699) 2022-02-07 12:41:41 +01:00
Aqua Deus d5bb799f27 Scripts/Spells: Fix shaman Undulation talent (#27695)
Co-authored-by: Modox <moardox@gmail.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-02-07 00:20:01 +01:00
Shauren a8cace4c70 Core/Spells: Do not register instant spells in Unit current spell containers when cast with TRIGGERED_IGNORE_CAST_IN_PROGRESS
This lets these spells be cast without interrupting the other spell that is currently being cast
Side effect of this change is that these instant spells cannot be interrupted
2022-02-06 21:59:41 +01:00
Meji fa3cba3a00 Core/BattlePets: Delete declined names of non-account battle pets when deleting character permanently (#27706) 2022-02-06 21:46:28 +01:00
Teleqraph f3e908dc99 Scripts/Spells: Fixed paladin's Light's Hammer (#27693)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-02-06 21:36:50 +01:00
Shauren 34024edcaa Core/Misc: Fixed clang pch build on some distros
Closes #27343
2022-02-06 19:04:53 +01:00
Antonio Martín Berti b5a67cf17d Core/Conditions: Implemented new condition type CONDITION_BATTLE_PET_COUNT to check how many copies of a battle pet are collected (#27689)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-02-06 18:57:19 +01:00
Teleqraph 3fa4c04919 Scripts/Spells: Implemented Ashen Hallow script (#27682) 2022-02-06 16:19:25 +01:00
Aqua Deus e5417e9ce7 Core/PacketIO: Implemented SMSG_DISPLAY_TOAST for quest money rewards (#27669) 2022-02-06 14:56:11 +01:00
Shauren 873e92d3b4 Core/DataStores: Fixed LiquidTypeEntry structure broken by incorrect regex replacement 2022-02-06 11:23:08 +01:00
Treeston 2aa9d9a67a Scripts/Commands: Correct some unexpected behavior in .level
(cherry picked from commit d2f51569d1)
2022-02-06 01:15:37 +01:00
SneakyV 6e01426e72 DB/Locales: Add some missing deDE quest locales
Closes #25459

(cherry picked from commit bf11c4acb5)
2022-02-06 01:15:24 +01:00
Cerveciento 9eb092db3c DB/Locales: Add missing esES & esMX quest locales (Part 35)
Closes #25458

(cherry picked from commit 6c2186563d)
2022-02-06 01:14:46 +01:00
offl 3724fa8fa8 DB/Quest: Rework support for 'Someone Else's Hard Work Pays Off'
(cherry picked from commit 8b60a69393)
2022-02-06 01:14:08 +01:00
offl 066c6c98a0 DB/Conditions: Make gossip options & texts visible if quest is taken or completed
Previously condition CONDITION_QUESTTAKEN (9) was used (checks if quest is taken but NOT completed) while Blizzard always checks only if quest is taken. As result player can see gossip options and texts even if quest is completed but not yet rewarded

Please use CONDITION_QUESTSTATE (47) with ConditionValue2 = 10 (taken or completed) in future to make gossip options or texts visible only if quest is taken

(cherry picked from commit 3f9ac8bad2)
2022-02-06 01:11:53 +01:00
offl 7d85f584a7 DB/Quest: Add outro event for 'The Fall of Ossirian'
(cherry picked from commit 29b119cf91)
2022-02-06 01:09:10 +01:00
Ovah f70161dcc5 Core/Spells: fix a possible crash when a target that has been focused during spell casts disappears
(cherry picked from commit 0d152e932c)
2022-02-06 00:36:00 +01:00
Ovah c295cb9814 Core/Spells: cleaned up and improved spell focusing behavior (PR #25440)
(cherry picked from commit 39a436bd65)
2022-02-06 00:29:15 +01:00
ForesterDev 51622e6642 Scripts/ICC: update Deathbringer Saurfang scripts to new model (#25435)
(cherry picked from commit d52acf1b72)
2022-02-06 00:22:36 +01:00