public Lion() { setRace( (Race) QuadrupleFactory.getInstance() .create( new Object[] { QuadrupleFactory.QuadrupleOption.PAWS, QuadrupleFactory.QuadrupleOption.JAWS })); setExperienceWorth(20000); setPhysicalStrength(50); setPhysicalConstitution(50); setPhysicalDexterity(50); setAggressive(Dice.random() < 15); setAggressive(false); setName("lion"); setDescription("A lion"); setLongDescription("It's a lion."); setBattleStyle(new BestialBattleStyle(this)); setSkill("fighting", 50); getMoney().add(Money.Coin.BRONZE, Dice.random()); start(); }
public Gnu() { setRace( (Race) QuadrupleFactory.getInstance() .create( new Object[] { QuadrupleFactory.QuadrupleOption.HOOVES, QuadrupleFactory.QuadrupleOption.HORNS })); setExperienceWorth(8000); addModifier(new DefaultModifierImpl(ModifierTypes.SIZE, new Object[0], -25)); setPhysicalStrength(30); setPhysicalConstitution(30); setPhysicalDexterity(25); setAggressive(false); setAggressive(false); setName("gnu"); setDescription("A gnu"); setLongDescription("It was created by a man called Richard Stallman."); setBattleStyle(new BestialBattleStyle(this)); setSkill("fighting", 20); getMoney().add(Money.Coin.BRONZE, Dice.random()); start(); }
public void consume(Living l) { l.addSp(50 + Dice.random(30)); l.remove(this); l.notice("You quaff the " + colour + " potion."); }