diff options
author | maximius <none@none> | 2009-11-17 23:56:54 -0800 |
---|---|---|
committer | maximius <none@none> | 2009-11-17 23:56:54 -0800 |
commit | 2582fa289c0bf0d2ef26848de13b5144f82b2476 (patch) | |
tree | 6d836abf41b9ee6fd536af6ce874980f1d6d0b99 /src | |
parent | 296d6791aab49f00c1edae4471d8b6a9636bb252 (diff) |
*Fix the insane ghoul/vehicle power regen, by MetaphysicalDrama, closes #108
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Creature.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp index 39921239678..4493142fb89 100644 --- a/src/game/Creature.cpp +++ b/src/game/Creature.cpp @@ -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: |