예제 #1
0
파일: PrisonB2.php 프로젝트: sinfocol/gwf3
 public function onCityExit(SR_Party $party)
 {
     if ($party->hasNPCClassed('PrisonB2_Malois')) {
         $party->notice('Malois says: "Hurry, we have to hurry!"');
     }
     parent::onCityExit($party);
 }
예제 #2
0
파일: PrisonB3.php 프로젝트: sinfocol/gwf3
 public function onCityEnter(SR_Party $party)
 {
     if ($party->hasNPCClassed('PrisonB2_Malois')) {
         $this->setAlert($party, 9000000);
     }
     parent::onCityEnter($party);
 }
예제 #3
0
파일: Prison.php 프로젝트: sinfocol/gwf3
 public function onCityEnter(SR_Party $party)
 {
     $party->giveKnowledge('places', 'Prison_Registry');
     if ($party->hasNPCClassed('PrisonB2_Malois')) {
         $this->setAlert($party, 9000000);
     }
     $party->notice('You can see the registry from here.');
     parent::onCityEnter($party);
 }