v2.1.0: fixed grim proc rate and version/changelog for re-release RC-2
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@ allprojects {
|
|||||||
appName = 'Shattered Pixel Dungeon'
|
appName = 'Shattered Pixel Dungeon'
|
||||||
appPackageName = 'com.shatteredpixel.shatteredpixeldungeon'
|
appPackageName = 'com.shatteredpixel.shatteredpixeldungeon'
|
||||||
|
|
||||||
appVersionCode = 714
|
appVersionCode = 717
|
||||||
appVersionName = '2.1.0-RC-2'
|
appVersionName = '2.1.0-RC-2'
|
||||||
|
|
||||||
appJavaCompatibility = JavaVersion.VERSION_1_8
|
appJavaCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -749,7 +749,6 @@ public abstract class Char extends Actor {
|
|||||||
|
|
||||||
float finalChance = buff(Grim.GrimTracker.class).maxChance;
|
float finalChance = buff(Grim.GrimTracker.class).maxChance;
|
||||||
finalChance *= (float)Math.pow( ((HT - HP) / (float)HT), 2);
|
finalChance *= (float)Math.pow( ((HT - HP) / (float)HT), 2);
|
||||||
finalChance = 1;
|
|
||||||
|
|
||||||
if (Random.Float() < finalChance) {
|
if (Random.Float() < finalChance) {
|
||||||
int extraDmg = Math.round(HP*resist(Grim.class));
|
int extraDmg = Math.round(HP*resist(Grim.class));
|
||||||
|
|||||||
+1
@@ -89,6 +89,7 @@ public class v2_X_Changes {
|
|||||||
changes.addButton(new ChangeButton(new Image(Assets.Sprites.SPINNER, 144, 0, 16, 16), Messages.get(ChangesScene.class, "bugfixes"),
|
changes.addButton(new ChangeButton(new Image(Assets.Sprites.SPINNER, 144, 0, 16, 16), Messages.get(ChangesScene.class, "bugfixes"),
|
||||||
"Fixed the following bugs:\n" +
|
"Fixed the following bugs:\n" +
|
||||||
"_Caused by RC-1:_\n" +
|
"_Caused by RC-1:_\n" +
|
||||||
|
"_-_ Grim enchantment proccing far more often than intended\n" +
|
||||||
"_-_ Tormented spirit spawning far more frequently than intended"));
|
"_-_ Tormented spirit spawning far more frequently than intended"));
|
||||||
|
|
||||||
changes = new ChangeInfo("RC-1", false, null);
|
changes = new ChangeInfo("RC-1", false, null);
|
||||||
|
|||||||
Reference in New Issue
Block a user