EverWrath/src
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
..
cmake fix(Deps): Fixed finding openssl 3.2 on windows (#18284) 2024-02-10 18:49:40 +01:00
common fix(Core/Spell): Implement SPELL_ATTR1_AURA_STAYS_AFTER_COMBAT (#19254) 2024-07-04 14:30:59 -03:00
genrev feat(License): add new headers information about license (#7941) 2021-09-30 13:40:52 +07:00
server fix(Scripts/Spells): warlock seed of corruption (#19322) 2024-07-17 01:50:38 +02:00
test feat(Core/World): Implement DoForAllPlayers() helper for all online p… (#18060) 2024-01-01 13:57:57 +01:00
tools chore(Core/Misc): sort includes (#17776) 2023-11-18 17:51:26 +01:00
CMakeLists.txt refactor(Cmake): add support build selected applications and tools (#11836) 2022-05-31 17:05:39 +07:00