Core/Entities: ghouls start with full energy

(cherry picked from commit 0c1e485e13)
This commit is contained in:
ariel-
2018-03-07 04:19:06 -03:00
committed by Shauren
parent 9f0204b357
commit e8e501609f
3 changed files with 5 additions and 8 deletions

View File

@@ -1820,7 +1820,7 @@ class npc_toc_rogue : public CreatureScript
events.ScheduleEvent(EVENT_WOUND_POISON, urand(5*IN_MILLISECONDS, 10*IN_MILLISECONDS));
SetEquipmentSlots(false, 47422, 49982, EQUIP_NO_CHANGE);
me->SetPowerType(POWER_ENERGY);
me->SetMaxPower(POWER_ENERGY, 100);
me->SetFullPower(POWER_ENERGY);
}
void UpdateAI(uint32 diff) override