Bugbear.java
package com.jadventure.game.monsters;
import com.jadventure.game.items.ItemStack;
/*
* A hybrid animal with the matching armour and high damage, but low health.
*/
public class Bugbear extends Monster {
public Bugbear(int playerLevel){
this.monsterType = "Bugbear";
this.setHealthMax(50 + playerLevel * 5);
this.setHealth(50 + playerLevel * 5);
this.setArmour(playerLevel);
this.setDamage(10 + playerLevel * 2);
this.setIntelligence(1);
this.setStealth(1);
this.setDexterity(1);
this.setCritChance(0.02);
this.setXPGain(30 + playerLevel * 3);
this.setGold(playerLevel * 3);
addRandomItems(playerLevel, "fram1", "pmil1");
}
}