Show
Ignore:
Timestamp:
11/19/08 13:30:04 (17 years ago)
Author:
yumileroy
Message:

[svn] Add Unit::GetObjectInWorld? function to get object by guid without providing reference.
Small change in SummonGameObject?.
Fix a bug that player can not click summoned najentus spine (must let target summon gameobject).

Original author: megamage
Date: 2008-10-18 19:59:34-05:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/bindings/scripts/scripts/zone/black_temple/boss_warlord_najentus.cpp

    r57 r58  
    217217            m_creature->SetInFront(m_creature->getVictim()); 
    218218            SpineTargetGUID = target->GetGUID(); 
    219             m_creature->SummonGameObject(GOBJECT_SPINE, target->GetPositionX(), target->GetPositionY(), target->GetPositionZ(), m_creature->GetOrientation(), 0, 0, 0, 0, 30); 
     219            //must let target summon, otherwise you cannot click the spine 
     220            target->SummonGameObject(GOBJECT_SPINE, target->GetPositionX(), target->GetPositionY(), target->GetPositionZ(), m_creature->GetOrientation(), 0, 0, 0, 0, 30); 
    220221 
    221222            switch(rand()%2)