public static int damageRoll( Hero hero ){ if (hero.buff(Force.class) != null) { int level = getBonus(hero, Force.class); float tier = tier(hero.STR()); return Random.NormalIntRange(min(level, tier), max(level, tier)); } else { //attack without any ring of force influence return Random.NormalIntRange(1, Math.max(hero.STR()-8, 1)); } }
public static int damageRoll( Hero hero ){ if (hero.buff(Force.class) != null) { int level = getBonus(hero, Force.class); float tier = tier(hero.STR()); return Random.NormalIntRange(min(level, tier), max(level, tier)); } else { //attack without any ring of force influence return Random.NormalIntRange(1, Math.max(hero.STR()-8, 1)); } }
@Override public String statsInfo() { float tier = tier(Dungeon.hero.STR()); if (isIdentified()) { return Messages.get(this, "stats", min(soloBonus(), tier), max(soloBonus(), tier), soloBonus()); } else { return Messages.get(this, "typical_stats", min(1, tier), max(1, tier), 1); } }
@Override public String statsInfo() { float tier = tier(Dungeon.hero.STR()); if (isIdentified()) { return Messages.get(this, "stats", min(soloBonus(), tier), max(soloBonus(), tier), soloBonus()); } else { return Messages.get(this, "typical_stats", min(1, tier), max(1, tier), 1); } }