Misc/Defines

* declare and use Spell Effects and Spell Auras
This commit is contained in:
Sarjuuk
2023-10-07 19:56:03 +02:00
parent deba5325a7
commit 0e0116b274
8 changed files with 629 additions and 103 deletions

View File

@@ -364,7 +364,7 @@ SqlGen::register(new class extends SetupScript
for ($i = 1; $i <= 3; $i++)
{
if ($effects['effect'.$i.'Id'] != 36) // effect: learnSpell
if ($effects['effect'.$i.'Id'] != SPELL_EFFECT_LEARN_SPELL)
continue;
$triggered = true;