We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8f5dcd commit 11e394eCopy full SHA for 11e394e
core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/rings/RingOfForce.java
@@ -68,6 +68,8 @@ public static int damageRoll( Hero hero ){
68
69
//same as equivalent tier weapon
70
private static int min(int lvl, float tier){
71
+ if (lvl <= 0) tier = 1; //tier is forced to 1 if cursed
72
+
73
return Math.max( 0, Math.round(
74
tier + //base
75
lvl //level scaling
@@ -76,6 +78,8 @@ private static int min(int lvl, float tier){
76
78
77
79
80
private static int max(int lvl, float tier){
81
82
83
84
5*(tier+1) + //base
85
lvl*(tier+1) //level scaling
0 commit comments