Advertisement
Guest User

Untitled

a guest
Sep 4th, 2015
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. case EVENT_LICH_7:
  2. {
  3. Talk(SAY_LICH_KING_7);
  4.  
  5. std::list<Creature*> chosenList;
  6. me->GetCreatureListWithEntryInGrid(chosenList, NPC_CHOSEN_ZEALOT, 200.0f);
  7.  
  8. for (std::list<Creature*>::const_iterator itr = chosenList.begin(); itr != chosenList.end(); ++itr)
  9. {
  10. Position pos;
  11. bla
  12. (*itr)->GetMotionMaster()->MovePoint(1, pos);
  13. (*itr)->RemoveByteFlag(UNIT_FIELD_BYTES_1, 0, UNIT_STAND_STATE_KNEEL);
  14. (*itr)->ToUnit()->SetUInt32Value(UNIT_NPC_EMOTESTATE, 375);
  15. }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement