*Some update of spell target selection.
--HG-- branch : trunk
This commit is contained in:
1 parent
3b4e4b8215
commit
6592e99f4a
4 files changed
+31
-20
No files matched your search
@@ -198,7 +198,7 @@ void GameObject::Update(uint32 /*p_time*/)
|
||||
{
|
||||
// Arming Time for GAMEOBJECT_TYPE_TRAP (6)
|
||||
Unit* owner = GetOwner();
|
||||
if (owner && ((Player*)owner)->isInCombat())
|
||||
if (owner && owner->isInCombat())
|
||||
m_cooldownTime = time(NULL) + GetGOInfo()->trap.startDelay;
|
||||
m_lootState = GO_READY;
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user