v0.4.0: increased base strength requirement for armor by 1 (same as weapons now)

This commit is contained in:
Evan Debenham 2016-06-01 20:03:38 -04:00
parent bbc45c6dc9
commit ad4c117643
2 changed files with 2 additions and 2 deletions

View File

@ -280,7 +280,7 @@ public class Hero extends Char {
evasion /= 2; evasion /= 2;
} }
int aEnc = belongings.armor != null ? belongings.armor.STRReq() - STR() : 9 - STR(); int aEnc = belongings.armor != null ? belongings.armor.STRReq() - STR() : 10 - STR();
if (aEnc > 0) { if (aEnc > 0) {
return (int)(defenseSkill * evasion / Math.pow( 1.5, aEnc )); return (int)(defenseSkill * evasion / Math.pow( 1.5, aEnc ));

View File

@ -333,7 +333,7 @@ public class Armor extends EquipableItem {
public int STRReq(int lvl){ public int STRReq(int lvl){
lvl = Math.max(0, lvl); lvl = Math.max(0, lvl);
//strength req decreases at +1,+3,+6,+10,etc. //strength req decreases at +1,+3,+6,+10,etc.
return (7 + tier * 2) - (int)(Math.sqrt(8 * lvl + 1) - 1)/2; return (8 + tier * 2) - (int)(Math.sqrt(8 * lvl + 1) - 1)/2;
} }
public int typicalDR() { public int typicalDR() {