示例#1
0
 public function on_exit(SR_Player $player, array $args)
 {
     $bot = Shadowrap::instance($player);
     $party = $player->getParty();
     if (false === Shadowcmd::checkMove($party)) {
         return false;
     }
     $party->pushAction(SR_Party::ACTION_OUTSIDE);
     $party->ntice('5020', array($party->getLocation()));
     // 		$party->notice(sprintf('You exit the %s.', $party->getLocation()));
     return true;
 }