mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-30 00:53:46 +00:00
chore(Core/Misc): remove toxic language (#6988)
This commit is contained in:
@@ -4359,7 +4359,7 @@ void AuraEffect::HandleAuraModIncreaseHealthPercent(AuraApplication const* aurAp
|
||||
float percent = target->GetHealthPct();
|
||||
target->HandleStatModifier(UNIT_MOD_HEALTH, TOTAL_PCT, float(GetAmount()), apply);
|
||||
|
||||
// Xinef: idiots, pct was rounded down and could "kill" creature by setting its health to 0 making npc zombie
|
||||
// Xinef: pct was rounded down and could "kill" creature by setting its health to 0 making npc zombie
|
||||
if (target->IsAlive())
|
||||
if (uint32 healthAmount = CalculatePct(target->GetMaxHealth(), percent))
|
||||
target->SetHealth(healthAmount);
|
||||
|
||||
Reference in New Issue
Block a user