Core/Traps: Remove hardcoded cooldown value of 1 and use startDelay instead, as per Kaelima suggestion
startDelay is 1 for all hunter traps Fix non PCH build (boss_elder_madox.cpp) Remove a double parentheses in LFGGroupScript
This commit is contained in:
1 parent
d27a3955f0
commit
d641775a1f
3 files changed
+3
-2
No files matched your search
@@ -293,7 +293,7 @@ void GameObject::Update(uint32 diff)
|
||||
else if (Unit* owner = GetOwner())
|
||||
{
|
||||
if (owner->isInCombat())
|
||||
m_cooldownTime = time(NULL) + 1;
|
||||
m_cooldownTime = time(NULL) + goInfo->trap.startDelay;
|
||||
}
|
||||
m_lootState = GO_READY;
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user