v0.4.0: refactors and rebalancing to existing weapons

This commit is contained in:
Evan Debenham
2016-05-14 18:32:35 -04:00
parent 8f27e921d8
commit 56ec14e370
28 changed files with 152 additions and 106 deletions
@@ -77,14 +77,22 @@ abstract public class KindOfWeapon extends EquipableItem {
}
}
abstract public int min();
abstract public int max();
public int min(){
return min(level());
}
public int max(){
return max(level());
}
abstract public int min(int lvl);
abstract public int max(int lvl);
public int damageRoll( Hero owner ) {
return Random.NormalIntRange( min(), max() );
}
public float acuracyFactor( Hero hero ) {
public float accuracyFactor(Hero hero ) {
return 1f;
}