v0.4.0: added the ability for weapons to give DR, gave it to quarterstaff

This commit is contained in:
Evan Debenham
2016-05-15 04:43:41 -04:00
parent 84324c6f52
commit 7021b01821
4 changed files with 17 additions and 7 deletions
@@ -103,6 +103,10 @@ abstract public class KindOfWeapon extends EquipableItem {
public int reachFactor( Hero hero ){
return 1;
}
public int defenceFactor( Hero hero ) {
return 0;
}
public void proc( Char attacker, Char defender, int damage ) {
}