v2.5.0: heavily buffed the salt cube
This commit is contained in:
+12
-5
@@ -59,7 +59,7 @@ public class SaltCube extends Trinket {
|
|||||||
if (level == -1){
|
if (level == -1){
|
||||||
return 1;
|
return 1;
|
||||||
} else {
|
} else {
|
||||||
return 1f / (1f + 0.125f*(level+1));
|
return 1f / (1f + 0.25f*(level+1));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -68,10 +68,17 @@ public class SaltCube extends Trinket {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static float healthRegenMultiplier( int level ){
|
public static float healthRegenMultiplier( int level ){
|
||||||
if (level == -1){
|
switch (level){
|
||||||
return 1;
|
case -1: default:
|
||||||
} else {
|
return 1;
|
||||||
return 1f - 0.25f*(level+1);
|
case 0:
|
||||||
|
return 0.7f;
|
||||||
|
case 1:
|
||||||
|
return 0.5f;
|
||||||
|
case 2:
|
||||||
|
return 0.35f;
|
||||||
|
case 3:
|
||||||
|
return 0.25f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user