From 6fc71c9f8b1605a926ef2ff405e9efa7331c1a65 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 8 Dec 2014 13:37:02 -0500 Subject: [PATCH] v0.2.3: final tweak to ring of force rework --- .../shatteredpixeldungeon/actors/hero/Hero.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java b/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java index 772866fe8..aa65eec91 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java @@ -326,10 +326,10 @@ public class Hero extends Char { } else { int str = STR() - 8; dmg = bonus == 0 ? - STR() > 9 ? Random.NormalIntRange( 1, str ) : 1 : - bonus > 0 ? - STR() > 8 ? Random.NormalIntRange( str/2+bonus, (int)(str*0.5f*bonus) + str*2 ) : 1 : - 0; + str > 1 ? Random.NormalIntRange( 1, str ) : 1 + : bonus > 0 ? + str > 0 ? Random.NormalIntRange( str/2+bonus, (int)(str*0.5f*bonus) + str*2 ) : 1 + : 0; } if (dmg < 0) dmg = 0; return buff( Fury.class ) != null ? (int)(dmg * 1.5f) : dmg;