feat(Core/Creature): Implement SetRegeneratingPower() to disable powe… (#12535)

feat(Core/Creature): Implement SetRegeneratingPower() to disable power gains
This commit is contained in:
Skjalf
2022-07-25 12:12:27 -03:00
committed by GitHub
parent cd3151df40
commit e3c7b52253
3 changed files with 9 additions and 1 deletions

View File

@@ -66,6 +66,7 @@ public:
{
_Reset();
me->SetPower(POWER_MANA, 0);
me->SetRegeneratingPower(false);
_isStonePhase = false;
events.ScheduleEvent(EVENT_STONE_PHASE, 90000);
//events.ScheduleEvent(EVENT_WIDE_SLASH, 11000);