Commit Graph
19460 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
TeleqraphandShauren 9e7f465fc2 Scripts/Spells: Fixed Divine Purpose (#27719)
Co-authored-by: Shauren <[email protected]>
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 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
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
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 DeusandShauren 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 <[email protected]>
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
d5bb799f27 Scripts/Spells: Fix shaman Undulation talent (#27695)
Co-authored-by: Modox <[email protected]>
Co-authored-by: Shauren <[email protected]>
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
TeleqraphandShauren f3e908dc99 Scripts/Spells: Fixed paladin's Light's Hammer (#27693)
Co-authored-by: Shauren <[email protected]>
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 BertiandShauren 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 <[email protected]>
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 d2f51569d12f3cb72e53351914d2535eb6ef2dbe)
2022-02-06 01:15:37 +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 0d152e932cdd986f62ae22bd9fc40569892a2453)
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 39a436bd658790d39d3cfa64e18f49544475dfe3)
2022-02-06 00:29:15 +01:00
ForesterDev 51622e6642 Scripts/ICC: update Deathbringer Saurfang scripts to new model (#25435)
(cherry picked from commit d52acf1b72c702637d10cce19e121435308e8410)
2022-02-06 00:22:36 +01:00
Giacomo Pozzoni 6734a70aa8 Core/Warden: Attempt to fix random ingame Lua errors with Warden enabled
(cherry picked from commit cd1858b04010fe790f9db45f629a8e81e367b7a4)
2022-02-06 00:18:17 +01:00
jackpoz 8cbc21120f Core/Characters: Replace 2 database statements with 1
Replace DELETE + INSERT with REPLACE when updating realmcharacters table

(cherry picked from commit a33ff74d92bde847b051da9fe483676fa1228c5b)
2022-02-06 00:15:31 +01:00
jackpoz a439dab179 Core/PlayerDump: Update realmcharacters table when importing a character with ".pdump load"
Fixes #24517

(cherry picked from commit 69831d2a97baf98caa82d2689e6d323af35931fe)
2022-02-06 00:15:08 +01:00
Shauren 111a80bbbf Scripts/Trial of the Champion: "Refactor" encounter state management to use InstanceScript::Get/SetBossState so people attempting to fix this instance don't feel compelled to change EVERY SINGLE BOSS FILE when fixing one of them
(cherry picked from commit d704b89163267cb7b3fe6769acebfab3de762c6d)
2022-02-06 00:14:57 +01:00
Keader c42470ffb7 Core/Spells: Do not reset periodic timer for stacking DoTs on recast
(cherry picked from commit d7a78c19302d83b72e7382593b59ba0656972c92)
2022-02-06 00:10:56 +01:00
Treeston 6ede274024 Core/ChatCommands: Fix an issue that caused trailing variant options to sometimes not be selected
(cherry picked from commit 14fa6c3a725f617e02af74eea95f5074b9095704)
2022-02-06 00:07:47 +01:00
jackpoz d1bea3e8b3 Core/LFG: Handle vote kick as failed if there cannot be 3 votes agreeing
i.e: 4 players, vote kick starts, 1 rejects, vote is considered as failed.

(cherry picked from commit f0f0de01fad0bc7bdfda215ec1a0f5b58d4a0ebf)
2022-02-06 00:05:38 +01:00
offl 2b515f97a6 DB/Quest: Convert & update support for 'A Slow Death' to SAI
Closes #25399

Based on dr-j's script

(cherry picked from commit 29b39ae6063f69e185b26712079c5b77000027b5)
2022-02-06 00:05:16 +01:00