Commit Graph

831 Commits

Author SHA1 Message Date
Jeremy
be11f42a16 Core/Battlegrounds: Move to scripts (#29799)
* Introduce new BattlegroundScript class for map/bg specific scripts
* Remove all sub, zone specific, battleground classes except Arena
* Move all bg zone scripts to new BattlegroundScripts class in script folder
* Remove ZoneScript from Battleground class
* Remove some unused hooks from Battleground
2024-03-28 19:29:22 +01:00
Shauren
877ae5b47d Core/Spells: Implemented SPELL_ATTR8_CAN_HIT_AOE_UNTARGETABLE 2024-02-19 21:05:03 +01:00
Shauren
ed0b621d15 Core/Auras: Allow SPELL_AURA_MECHANIC_IMMUNITY_MASK to apply aoe/chain targeting immunity 2024-02-13 00:46:42 +01:00
Shauren
b4064d38c8 Core/Spells: Allow spells with SPELL_DAMAGE_CLASS_NONE to crit 2024-02-11 00:58:21 +01:00
Mematoru23
69f2f8cd8c Scripts/Spells: Implemented Priest talent Crystalline Reflection (#29677) 2024-02-10 22:13:09 +01:00
Shauren
f70a5817e1 Core/Creatures: Move immunities to separate table and implemented setting immunties to dispel, spell effects, aura types, aoe and chain targeting 2024-01-30 21:29:55 +01:00
ModoX
e8849ca5a1 Core/Spells: Added option to override orientation for target types using spell_target_position table (#29551) 2024-01-08 21:19:44 +01:00
Naddley
e8f98d8d84 Scripts/AzureVault: Implement Telash Greywing encounter (#29469) 2023-12-09 00:21:11 +01:00
AlexIndex
6800622b6e Scripts/SFO: Implemented Anduin Wrynn encounter (#28540)
Co-authored-by: ModoX <moardox@gmail.com>
Co-authored-by: Seyden <saiifii@live.de>
2023-11-10 22:53:45 +01:00
Naddley
99220af493 Scripts/Mardum: Implement Quest: "Eye On the Prize" (#29352) 2023-10-09 01:11:25 +02:00
Shauren
68b6d81d4c Core/Skills: Fixed updating riding skill value when learning riding spells automatically 2023-09-23 20:01:27 +02:00
Naddley
e56fca906f Scripts/Mardum: Implement The Invasion Begins quest (#29302)
Co-authored-by: ModoX <moardox@gmail.com>
2023-09-07 02:20:43 +02:00
Shauren
c2d8c64d36 Core/Spells: Validate spellmod array size at startup 2023-08-13 23:47:42 +02:00
Shauren
b8f3bb8cba Core/Spells: Updated default SpellPhaseMask that is generated for procs that do not have entry in spell_proc table 2023-08-12 18:28:50 +02:00
Shauren
5aaaf3f916 Core/Auras: Default procs with PROC_FLAG_2_CAST_SUCCESSFUL to CAST spell phase 2023-08-06 00:49:31 +02:00
Meji
889e88ab80 Core/Spells: Fixed target radius logic in spell effects for TargetB (#29158) 2023-07-20 10:10:18 +02:00
Aqua Deus
87f350b1c1 Core/Auras: Implement SPELL_AURA_IGNORE_SPELL_COOLDOWN (#29157) 2023-07-19 23:03:26 +02:00
Aqua Deus
9ad227f075 Scripts/Warlock: Implemented Burning Rush (#29117) 2023-07-13 13:50:50 +02:00
DeadMouse
280a54603f Core/Pets: Fixed typo added in c7306439e7. (#29128) 2023-07-08 12:34:23 +02:00
Shauren
29eac37a16 Core/Spells: Fully prevent infinite proc loops and add logging to detect most spells that could possibly trigger this behavior at startup
Closes #28865
2023-06-29 11:39:02 +02:00
Shauren
3790c1e3da Core/Spells: Implemented spell target type 142 2023-05-28 01:14:19 +02:00
Shauren
092119058b Scripts/Spells: Added proc requirements to a few auras that have SPELL_ATTR3_CAN_PROC_FROM_PROCS attribute 2023-05-24 22:10:04 +02:00
Shauren
c8ebf077c7 Scripts/Spells: Added proc requirements to a few auras that have SPELL_ATTR3_CAN_PROC_FROM_PROCS attribute 2023-04-19 23:56:59 +02:00
Naddley
1baa2f4f39 Scripts/AzureVault: Implement Leymor encounter (#28810) 2023-03-02 23:52:05 +01:00
Aqua Deus
bd2deb57d2 Core/Spells: Remove a triggered spell (not in sniff) (#28571) 2023-01-29 00:48:37 +01:00
Shauren
badb55bfd9 Core/Spells: Added additional validation to loading spell_linked_spell to prevent infinite loops
Closes #28753
2023-01-15 13:30:17 +01:00
fluxurion
d90b526c28 Core/Spells: Update IsPrimaryProfessionSkill filtering (#28650) 2023-01-09 21:04:28 +01:00
Shauren
d791afae1d Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api) 2023-01-08 21:16:53 +01:00
Shauren
e98e1283ea Core: Updated to 10.0.2 2022-12-04 15:13:20 +01:00
Shauren
de7c03c838 Core/Spells: Extended mechanic mask to uint64 2022-12-04 15:07:36 +01:00
Dan Johnson
98e0acd768 Scripts/Naxxramas: Curse of the Plaguebringer should affect 10 targets in 25 man mode (#28164)
(cherry picked from commit 3735a3df0e)
2022-09-05 21:35:30 +02:00
offl
731177fa9b Core/Spells: MaxAffectedTargets for 47731 Critter
(cherry picked from commit 37fcaf64ef)
2022-09-05 19:56:45 +02:00
offl
d68abbf705 Scripts/Pets: Update Lil' K.T. (#28071)
(cherry picked from commit dfd1692e31)
2022-09-05 19:46:54 +02:00
offl
496eba4e8d Scripts/Spells: Correctly implement Murmur's Touch & Dire Brew (#28058)
(cherry picked from commit f0d2418e5f)
2022-09-05 19:37:13 +02:00
Shauren
b08a58dec6 Core/Misc: Reduce differences between branches (refactors from 44ac5cbbea) 2022-09-02 15:12:28 +02:00
Shauren
073a036d84 Core/Battlefields: Refactor Battlefield creation to be linked to host map creation instead of having globally accessible objects 2022-07-19 23:18:19 +02:00
Aqua Deus
2358e51182 Scripts/Spells: Fix mage spell Ray of Frost (#28090) 2022-07-16 16:04:06 +02:00
Shauren
3d34febd6d Core/Auras: Don't save auras to db with SpellAuraInterruptFlags::LeaveWorld 2022-07-07 16:03:43 +02:00
Meji
a1f673d1ca Core/BattlePets: Move BattlePet stuff from SpellMgr to BattlePetMgr (#27986) 2022-06-09 13:58:54 +02:00
Shauren
94aac14b4d Core/Spells: Rename SpellAttr6 to use official attribute names 2022-05-06 20:23:13 +02:00
Shauren
d800c87137 Core/Misc: Remove implicit conversions from RaceMask class, fixes racemask check failing during loading from db 2022-05-06 18:45:51 +02:00
Shauren
d818add0e2 Core/Auras: Added support for SPELL_ATTR5_LIMIT_N limit to other number than just 1 2022-05-02 16:14:41 +02:00
Shauren
738f285432 Core/Spells: Rename SpellAttr5 to use official attribute names
* Implemented SPELL_ATTR8_HASTE_AFFECTS_DURATION
2022-05-02 01:11:38 +02:00
Shauren
8d16a79dea Core/Spells: Rename SpellAttr4 to use official attribute names
* Corrected implementation of SPELL_ATTR4_CLASS_TRIGGER_ONLY_ON_TARGET
* Implemented SPELL_ATTR4_NO_HELPFUL_THREAT
* Implemented SPELL_ATTR4_NO_PARTIAL_IMMUNITY
* Implemented SPELL_ATTR4_ALLOW_PROC_WHILE_SITTING
* Implemented SPELL_ATTR4_USE_FACING_FROM_SPELL
* Implemented SPELL_ATTR4_BOUNCY_CHAIN_MISSILES
* Implemented SPELL_ATTR4_AURA_NEVER_BOUNCES
* Implemented SPELL_ATTR4_AURA_BOUNCE_FAILS_SPELL
* Implemented SPELL_ATTR4_AURA_IS_BUFF
* Implemented SPELL_ATTR5_MELEE_CHAIN_TARGETING

* Implemented SpellEffectAttributes::ChainFromInitialTarget
2022-05-01 20:01:13 +02:00
Shauren
88d7b58a3d Core/Spells: Rename SpellAttr3 to use official attribute names
* Implemented SPELL_ATTR3_NO_AVOIDANCE
* Implemented SPELL_ATTR3_ONLY_PROC_OUTDOORS
* Implemented SPELL_ATTR3_ONLY_PROC_ON_CASTER
* Implemented SPELL_ATTR3_PVP_ENABLING
* Implemented SPELL_ATTR3_SUPPRESS_CASTER_PROCS
* Implemented SPELL_ATTR3_SUPPRESS_TARGET_PROCS
2022-04-30 16:57:32 +02:00
Shauren
dda375b986 Core/Spells: Rename SpellAttr2 to use official attribute names
* Corrected implementation of SPELL_ATTR1_ALLOW_WHILE_STEALTHED
* Implemented SPELL_ATTR2_RETAIN_ITEM_CAST
* Implemented SPELL_ATTR2_ALLOW_WHILE_INVISIBLE
* Implemented SPELL_ATTR0_PROC_FAILURE_BURNS_CHARGE
* Implemented SPELL_ATTR2_PROC_COOLDOWN_ON_FAILURE
* Implemented SPELL_ATTR2_NO_TARGET_PER_SECOND_COSTS
* Implemented SPELL_ATTR2_DO_NOT_REPORT_SPELL_FAILURE
* Implemented SPELL_ATTR1_REQUIRE_ALL_TARGETS
* Implemented SPELL_ATTR2_CHAIN_FROM_CASTER
* Implemented SPELL_ATTR2_NO_ACTIVE_PETS
* Implemented SPELL_ATTR2_ENCHANT_OWN_ITEM_ONLY
2022-04-28 18:31:26 +02:00
Shauren
c88b602a2c Core/Spells: Rename SpellAttr1 to use official attribute names
* Implemented SPELL_ATTR1_NO_SKILL_INCREASE, SPELL_ATTR1_AURA_STAYS_AFTER_COMBAT, SPELL_ATTR1_DISPEL_ALL_STACKS
2022-04-25 22:16:56 +02:00
Shauren
a31e681944 Core/Spells: Rename SpellAttr0 to use official attribute names 2022-04-24 18:40:10 +02:00
Traesh
87723e32e2 Core/Battlegrounds: Implement mercenary system 2022-04-16 12:15:37 +02:00
Grindelwald
a799a10a90 Core/Spells: Add MaxAffectedTargets for Domination (#27541)
(cherry picked from commit 5f0e80bf43)
2022-03-24 23:50:03 +01:00