Core/Pets: fixed setting stats for non-scaling minions and guardians

This commit is contained in:
Ovahlord committed 2018-10-06 22:06:19 +02:00
1 parent 6d6303a35f
commit 9a5c3aff9d
2 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -1039,7 +1039,7 @@ void Guardian::UpdateMaxHealth()
break;
}
float value = GetModifierValue(unitMod, BASE_VALUE);
float value = GetModifierValue(unitMod, BASE_VALUE) + GetCreateHealth();
value *= GetModifierValue(unitMod, BASE_PCT);
value += GetModifierValue(unitMod, TOTAL_VALUE) + stamina * multiplicator;
value *= GetModifierValue(unitMod, TOTAL_PCT);