Beispiel #1
0
 void JustSummoned(Creature* summoned)
 {
     if (summoned)
     {
         summoned->SetSpeed(MOVE_RUN, 0.3f);
         summoned->GetMotionMaster()->MoveFollow(me, 0, 0);
         m_waterElements.push_back(summoned->GetGUID());
         instance->SetData64(DATA_ADD_TRASH_MOB, summoned->GetGUID());
     }
 }
Beispiel #2
0
 void JustSummoned(Creature* summon)
 {
     lSummons.push_back(summon->GetGUID());
     if (summon->AI())
         summon->AI()->AttackStart(me);
 }