fix(Scripts/Spell): Victory Rush spammable ability (#6662)

This commit is contained in:
Cláudio Costa 2021-07-06 14:17:51 +01:00 committed by GitHub
parent a43ccdd7c6
commit 440b120e04
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -106,6 +106,7 @@ public:
{
if (Unit* player = GetCaster())
{
player->ModifyAuraState(AURA_STATE_WARRIOR_VICTORY_RUSH, false);
if (Unit* victim = GetHitUnit())
{
if (victim->isDead())