v0.2.2: reworked weightstone
This commit is contained in:
@@ -91,7 +91,9 @@ public class MeleeWeapon extends Weapon {
|
||||
info.append( " tier-" + tier + " melee weapon. " );
|
||||
|
||||
if (levelKnown) {
|
||||
info.append( "Its average damage is " + (MIN + (MAX - MIN) / 2) + " points per hit. " );
|
||||
info.append( "Its average damage is " +
|
||||
Math.round((MIN + (MAX - MIN) / 2)*(imbue == Imbue.LIGHT ? 0.75f : (imbue == Imbue.HEAVY ? 1.5f : 1)))
|
||||
+ " points per hit. " );
|
||||
} else {
|
||||
info.append(
|
||||
"Its typical average damage is " + (min() + (max() - min()) / 2) + " points per hit " +
|
||||
@@ -116,11 +118,11 @@ public class MeleeWeapon extends Weapon {
|
||||
info.append( "This is a rather " + (ACU > 1f ? "accurate" : "inaccurate") + " weapon. " );
|
||||
}
|
||||
switch (imbue) {
|
||||
case SPEED:
|
||||
info.append( "It was balanced to make it faster. " );
|
||||
case LIGHT:
|
||||
info.append( "It was balanced to be lighter. " );
|
||||
break;
|
||||
case ACCURACY:
|
||||
info.append( "It was balanced to make it more accurate. " );
|
||||
case HEAVY:
|
||||
info.append( "It was balanced to be heavier. " );
|
||||
break;
|
||||
case NONE:
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user