Core/Pets:
* corrected level 85 stats for Death Knight's Risen Ghoul * removed an old leftover that was causing Blood Worms to have way too much health * enabled and use Avoidance for Death Knight Ghouls used in Raise Dead and Army of the Dead
This commit is contained in:
1 parent
949c6b8d8a
commit
f73630dd0e
4 files changed
+35
-45
No files matched your search
@@ -1029,15 +1029,6 @@ void Guardian::UpdateMaxHealth()
|
||||
float stamina = GetStat(STAT_STAMINA) - GetCreateStat(STAT_STAMINA);
|
||||
float multiplicator = 10.0f;
|
||||
|
||||
switch (GetEntry())
|
||||
{
|
||||
case ENTRY_BLOODWORM:
|
||||
multiplicator = 1.0f;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
float value = GetModifierValue(unitMod, BASE_VALUE) + GetCreateHealth();
|
||||
value *= GetModifierValue(unitMod, BASE_PCT);
|
||||
value += GetModifierValue(unitMod, TOTAL_VALUE) + stamina * multiplicator;
|
||||
|
||||
Reference in new issue
Block a user