mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-28 04:42:10 +01:00
*Fix the insane ghoul/vehicle power regen, by MetaphysicalDrama, closes #108
--HG-- branch : trunk
This commit is contained in:
@@ -143,10 +143,10 @@ m_creatureInfo(NULL), m_reactState(REACT_AGGRESSIVE), m_formation(NULL)
|
||||
, m_AlreadySearchedAssistance(false)
|
||||
, m_creatureData(NULL), m_PlayerDamageReq(0)
|
||||
{
|
||||
m_regenTimer = 200;
|
||||
m_regenTimer = 2000;
|
||||
m_valuesCount = UNIT_END;
|
||||
|
||||
for (uint8 i =0; i<CREATURE_MAX_SPELLS; ++i)
|
||||
for (uint8 i = 0; i < CREATURE_MAX_SPELLS; ++i)
|
||||
m_spells[i] = 0;
|
||||
|
||||
m_CreatureSpellCooldowns.clear();
|
||||
@@ -570,6 +570,7 @@ void Creature::Update(uint32 diff)
|
||||
else
|
||||
if(!bIsPolymorphed) // if polymorphed, skip the timer
|
||||
m_regenTimer -= diff;*/
|
||||
m_regenTimer = 2000;
|
||||
break;
|
||||
}
|
||||
case DEAD_FALLING:
|
||||
|
||||
Reference in New Issue
Block a user