Bläddra i källkod

Reduced bleeding ticks damage

bm01 13 år sedan
förälder
incheckning
dbc57060ee
2 ändrade filer med 3 tillägg och 7 borttagningar
  1. 1 0
      Changelog.txt
  2. 2 7
      src/main/java/com/gmail/nossr50/runnables/BleedTimer.java

+ 1 - 0
Changelog.txt

@@ -21,6 +21,7 @@ Version 1.3.07
  = Fixed bug where the permission node for Impact didn't work
  = Fixed some bypass nodes defaulting true for Ops
  = Fixed bug with trying to use Chimera Wing while standing on a half-block
+ ! Changed bleeding ticks damage to 1 from 2
  ! Changed Mining to ignore blocks when the pick is enchanted with Silk Touch
  ! Changed Super Breaker to be non-functional when used with a Silk Touch enchanted pick
  ! Changed MySQL to save player information 50ms apart from each other to reduce the load on the MySQL server

+ 2 - 7
src/main/java/com/gmail/nossr50/runnables/BleedTimer.java

@@ -48,13 +48,8 @@ public class BleedTimer implements Runnable {
                 }
 
                 //Never kill with Bleeding
-                if (player.getHealth() - 2 < 0) {
-                    if (player.getHealth() - 1 > 0) {
-                        Combat.dealDamage(player, 1);
-                    }
-                }
-                else {
-                    Combat.dealDamage(player, 2);
+                if (player.getHealth() - 1 > 0) {
+                    Combat.dealDamage(player, 1);
                 }
 
                 entry.setValue(entry.getValue() - 1);