Advertisement
Guest User

a

a guest
Feb 27th, 2015
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. void Monster::onAttackedCreatureDisappear(bool isLogout)
  2. {
  3. #ifdef __DEBUG__
  4. std::cout << "Attacked creature disappeared." << std::endl;
  5. #endif
  6. attackTicks = 0;
  7. extraMeleeAttack = true;
  8. if(!isSummon())
  9. {
  10. if(Player* newTarget = attackedCreature->getMonster()->getMaster()->getPlayer()) // OrochiElf
  11. this->selectTarget(newTarget);
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement