Beispiel #1
0
 public function testMerchant2AbstractNpcIsSimilarToOriginal()
 {
     if (!DEBUG) {
         $this->markTestSkipped();
     }
     $merchant2 = new Npc('merchant2');
     /*
     		Merchant1:
     		Damage 15 - 35
     		Gold 20 - 70
     		?? 70% chance of phosphor powder drop?
     		// 20 gold bounty (ish) from killing
     */
     $this->assertLessThan(37, $merchant2->max_damage());
     $this->assertGreaterThan(15, $merchant2->max_damage());
     $this->assertLessThan(70, $merchant2->gold());
     $this->assertGreaterThan(20, $merchant2->gold());
     $this->assertGreaterThan(0, $merchant2->bounty());
     $this->assertLessThan(25, $merchant2->bounty());
 }