static { float dp = Rpg.getDp(); imageFormatInfo = new ImageFormatInfo(0, 0, 2, 0, 4, 2); imageFormatInfo.setID(R.drawable.pigeon); staticAttackerQualities = new AttackerQualities(); staticAttackerQualities.setStaysAtDistanceSquared(0); staticAttackerQualities.setFocusRangeSquared(5000 * dp * dp); staticAttackerQualities.setAttackRangeSquared(Rpg.getMeleeAttackRangeSquared()); staticAttackerQualities.setDamage(5); staticAttackerQualities.setdDamageAge(0); staticAttackerQualities.setdDamageLvl(1); staticAttackerQualities.setROF(1000); staticLivingQualities = new LivingQualities(); staticLivingQualities.setRequiresBLvl(1); staticLivingQualities.setRequiresAge(Age.STONE); staticLivingQualities.setRequiresTcLvl(1); staticLivingQualities.setRangeOfSight(300); staticLivingQualities.setLevel(1); staticLivingQualities.setFullHealth(40); staticLivingQualities.setHealth(40); staticLivingQualities.setdHealthAge(0); staticLivingQualities.setdHealthLvl(10); // staticLivingQualities.setFullMana(0); staticLivingQualities.setMana(0); staticLivingQualities.setHpRegenAmount(1); staticLivingQualities.setRegenRate(10000); staticLivingQualities.setArmor(0); staticLivingQualities.setdArmorAge(3); staticLivingQualities.setdArmorLvl(1); staticLivingQualities.setSpeed(1.5f * dp); }
static { float dp = Rpg.getDp(); imageFormatInfo = new ImageFormatInfo(0, 0, 0, 0, 1, 1); imageFormatInfo.setRedId(R.drawable.soldier_deen_red); imageFormatInfo.setBlueId(R.drawable.soldier_deen_blue); staticAttackerQualities = new AttackerQualities(); staticAttackerQualities.setStaysAtDistanceSquared(0); staticAttackerQualities.setFocusRangeSquared(5000 * dp * dp); staticAttackerQualities.setAttackRangeSquared(Rpg.getMeleeAttackRangeSquared()); staticAttackerQualities.setDamage(40); staticAttackerQualities.setdDamageAge(0); staticAttackerQualities.setdDamageLvl(5); staticAttackerQualities.setROF(800); staticLivingQualities = new LivingQualities(); staticLivingQualities.setRequiresBLvl(10); staticLivingQualities.setRequiresAge(Age.STEEL); staticLivingQualities.setRequiresTcLvl(16); staticLivingQualities.setLevel(1); staticLivingQualities.setFullHealth(250); staticLivingQualities.setHealth(250); staticLivingQualities.setdHealthAge(0); staticLivingQualities.setdHealthLvl(30); staticLivingQualities.setFullMana(0); staticLivingQualities.setMana(0); staticLivingQualities.setHpRegenAmount(1); staticLivingQualities.setRegenRate(1000); staticLivingQualities.setArmor(10); staticLivingQualities.setdArmorAge(0); staticLivingQualities.setdArmorLvl(2); staticLivingQualities.setSpeed(1.0f * dp); }