Core/Creatures: Changed the spawn health field in creature table to a percentage
Port From (https://github.com/TrinityCore/TrinityCore/commit/def601b4ff82ec8a90af60408a87cac92fdf070d)
This commit is contained in:
@@ -56,6 +56,7 @@ namespace Scripts.EasternKingdoms.BlackrockMountain.BlackwingLair.Vaelastrasz
|
||||
{
|
||||
_Reset();
|
||||
|
||||
me.SetSpawnHealth();
|
||||
me.SetStandState(UnitStandStateType.Dead);
|
||||
Initialize();
|
||||
}
|
||||
@@ -65,7 +66,6 @@ namespace Scripts.EasternKingdoms.BlackrockMountain.BlackwingLair.Vaelastrasz
|
||||
base.JustEngagedWith(who);
|
||||
|
||||
DoCast(me, SpellIds.Essenceofthered);
|
||||
me.SetHealth(me.CountPctFromMaxHealth(30));
|
||||
// now drop damage requirement to be able to take loot
|
||||
me.ResetPlayerDamageReq();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user