*Fix an invalid condition that would never be true.
--HG-- branch : trunk
This commit is contained in:
@@ -773,7 +773,7 @@ void OPvPWintergrasp::CastTenacity(Unit *unit, int32 newStack)
|
|||||||
unit->SetAuraStack(spellId, unit, newStack);
|
unit->SetAuraStack(spellId, unit, newStack);
|
||||||
else
|
else
|
||||||
unit->RemoveAura(spellId);
|
unit->RemoveAura(spellId);
|
||||||
if (!unit->GetTypeId() == TYPEID_PLAYER || unit->isAlive())
|
if (unit->GetTypeId() != TYPEID_PLAYER || unit->isAlive())
|
||||||
unit->SetHealth(uint32(unit->GetMaxHealth()*((float)unit->GetHealth()) / unit->GetMaxHealth()));
|
unit->SetHealth(uint32(unit->GetMaxHealth()*((float)unit->GetHealth()) / unit->GetMaxHealth()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user