Core/Spells: fixed Blitz talent
*remove Vengeance aura when basepoints are 0
This commit is contained in:
1 parent
a327a83a9e
commit
42bc13cf7a
2 files changed
+101
-6
No files matched your search
@@ -4571,6 +4571,8 @@ class spell_gen_vengeance : public SpellScriptLoader
|
||||
|
||||
if (bp) // make sure that we wont cast Vengeance when the damage bonus is 0
|
||||
caster->CastCustomSpell(caster, SPELL_VENGEANCE_TRIGGERED, &bp, &bp, NULL, true);
|
||||
else if (caster->HasAura(SPELL_VENGEANCE_TRIGGERED))
|
||||
caster->RemoveAurasDueToSpell(SPELL_VENGEANCE_TRIGGERED);
|
||||
}
|
||||
|
||||
void Register() override
|
||||
|
||||
Reference in new issue
Block a user