// Require parameter -Dstendhal.testserver=junk
admin.sendPrivateText("Rare creatures may not be summoned.");
return;
}
final RaidCreature creature = new RaidCreature(tempCreature);
// perhaps later have an option to set these, but think about how to do it correctly - dealing with spaces is hard
// final String creaturename = args.get(1);
// final int newatk = MathHelper.parseIntDefault(args.get(2), LOW_ATK);
// final int newHP = MathHelper.parseIntDefault(args.get(3), HIGH_HP);
final String creaturename = "enchanted " + creature.getTitle();
final int newatk = LOW_ATK;
final int newHP = HIGH_HP;
creature.setName(creaturename);
creature.setDescription(creature.describe() + " It has been magically enchanted, with its normal attack power converted into longer life.");
creature.setAtk(newatk);
creature.initHP(newHP);
sandbox.add(creature, x, y );
}