Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void Monster::onAttackedCreatureDisappear(bool isLogout)
- {
- #ifdef __DEBUG__
- std::cout << "Attacked creature disappeared." << std::endl;
- #endif
- attackTicks = 0;
- extraMeleeAttack = true;
- if(!isSummon())
- {
- if(Player* newTarget = attackedCreature->getMonster()->getMaster()->getPlayer()) // OrochiElf
- this->selectTarget(newTarget);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement