EverWrath/src/server/scripts/Outland
Jelle Meeus e8af1aaffc
fix(Scripts/Spells): warlock seed of corruption (#19322)
* remove seed of corruption handling in unit.cpp

* add generic and warlock aurascript

add warlock  aurascript

add enum

add generic aurascript

add OnRemove

2ff855054f (diff-ea612aafadff90005e88b243eb000369be9e5cb6f8dc85a008d31e42b156e0ec)

detonation threshold scaling added in: df5afca278

Co-authored-by: ariel- <ariel-@users.noreply.github.com>

* add LoS check to generic damage

* refactor 2 scripts to 1 with args

refactor const_cast to GetAura()->GetEffect(

refactor reduce a line

* fix detonation threshold scaling

changed SPELL_DIRECT_DAMAGE to DOT

* remove not needed IsExpired() check

removal upon expiration is notified by AURA_REMOVE_BY_EXPIRE

* update comment

* refactor script with args to single spellscript, fix detonate by evade

* refactor

detonation to Detonate()
rename amount to remainingDamage
remove no tneeded HealthBelowPctDamaged

* refactor to 2 spell scripts again

* rename detonation spell from seed_of_corruption to seed_of_corruption_damage

avoids confusion with seed of corruption (with dot effect)

---------

Co-authored-by: ariel- <ariel-@users.noreply.github.com>
2024-07-17 01:50:38 +02:00
..
Auchindoun fix(Scripts/AuchenaiCrypts): Remove double scheduling of Carnivorous Bite (#19353) 2024-07-09 13:05:09 -03:00
BlackTemple fix(Core/Spells): BT - Summon Shadowfiens should spawn 11, instead of 1 (#19391) 2024-07-14 12:22:24 -03:00
CoilfangReservoir chore(Core/Misc): #include cleanup (#19255) 2024-07-02 15:52:02 +02:00
GruulsLair chore(Scripts/Outland): Remove useless includes (#18049) 2023-12-24 09:37:41 -03:00
HellfireCitadel fix(Scripts/Magtheridon): Clicking cubes should Banish Magtheridon (#18856) 2024-05-04 11:56:48 -03:00
TempestKeep fix(Scripts/Spells): warlock seed of corruption (#19322) 2024-07-17 01:50:38 +02:00
boss_doomlord_kazzak.cpp refactor(Scripts/Outland): spell scripts use registry macros (#19132) 2024-06-25 21:37:51 +02:00
boss_doomwalker.cpp refactor(Scripts/Outland): Update Doomwalker to new register model (#17987) 2023-12-11 08:02:03 -03:00
outland_script_loader.cpp refactor(Scripts/ShatteredHalls): move Porung from SAI to cpp (#16417) 2023-06-06 23:38:01 -03:00
zone_blades_edge_mountains.cpp refactor(Scripts/Outland): spell scripts use registry macros (#19132) 2024-06-25 21:37:51 +02:00
zone_hellfire_peninsula.cpp refactor(Scripts/Outland): spell scripts use registry macros (#19132) 2024-06-25 21:37:51 +02:00
zone_nagrand.cpp feat(Core/Scripting): move all script objects to separated files (#17860) 2023-12-02 21:13:20 +01:00
zone_netherstorm.cpp fix(Scripts/Netherstorm): Rewrite Phase Hunter AI (#19401) 2024-07-14 12:27:32 -03:00
zone_shadowmoon_valley.cpp refactor(Scripts/Outland): spell scripts use registry macros (#19132) 2024-06-25 21:37:51 +02:00
zone_shattrath_city.cpp fix(CI): linux-build: add -Werror parameter (#19240) 2024-07-07 22:00:24 +02:00
zone_terokkar_forest.cpp fix(DB/Area): Horvon the Armorer & Greatfather Aldrimus phasing (#19138) 2024-06-29 00:24:50 -03:00