From ad4c1176432cf7a74a9c90d6796c4cbc70f467fe Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 1 Jun 2016 20:03:38 -0400 Subject: [PATCH] v0.4.0: increased base strength requirement for armor by 1 (same as weapons now) --- .../shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java | 2 +- .../shatteredpixel/shatteredpixeldungeon/items/armor/Armor.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java b/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java index 6efeed316..3f8570b5c 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java @@ -280,7 +280,7 @@ public class Hero extends Char { 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) { return (int)(defenseSkill * evasion / Math.pow( 1.5, aEnc )); diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/armor/Armor.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/armor/Armor.java index ac5e3f9b2..7907aab72 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/armor/Armor.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/armor/Armor.java @@ -333,7 +333,7 @@ public class Armor extends EquipableItem { public int STRReq(int lvl){ lvl = Math.max(0, lvl); //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() {