Changes up to 0.8.4

This commit is contained in:
nossr50 2011-02-26 14:16:33 -08:00
parent 2788eb1be2
commit bf328555dd
4 changed files with 5 additions and 3 deletions

View File

@ -82,7 +82,7 @@ public class mcEntityListener extends EntityListener {
if(e instanceof Player){ if(e instanceof Player){
Player defender = (Player)e; Player defender = (Player)e;
if(f instanceof Monster){ if(f instanceof Monster){
mcUsers.getProfile(defender).setRecentlyHurt(60); mcUsers.getProfile(defender).setRecentlyHurt(30);
} }
/* /*
* PARRYING CHECK, CHECK TO SEE IF ITS A SUCCESSFUL PARRY OR NOT * PARRYING CHECK, CHECK TO SEE IF ITS A SUCCESSFUL PARRY OR NOT

View File

@ -18,6 +18,8 @@ public class mcTimer extends TimerTask{
public void run() { public void run() {
if(thecount == 5 || thecount == 10 || thecount == 15 || thecount == 20){ if(thecount == 5 || thecount == 10 || thecount == 15 || thecount == 20){
for(Player player : plugin.getServer().getOnlinePlayers()){ for(Player player : plugin.getServer().getOnlinePlayers()){
//Add the user to the file so we don't create null exception error
mcUsers.addUser(player);
if(player != null && if(player != null &&
player.getHealth() > 0 && player.getHealth() < 20 player.getHealth() > 0 && player.getHealth() < 20
&& mcUsers.getProfile(player).getPowerLevel() >= 1000 && mcUsers.getProfile(player).getPowerLevel() >= 1000

View File

@ -974,7 +974,7 @@ public class mcm {
return; return;
} }
} }
mcUsers.getProfile(defender).setRecentlyHurt(60); mcUsers.getProfile(defender).setRecentlyHurt(30);
/* /*
* AXE CRITICAL CHECK * AXE CRITICAL CHECK
*/ */

View File

@ -1,3 +1,3 @@
name: mcMMO name: mcMMO
main: com.gmail.nossr50.mcMMO main: com.gmail.nossr50.mcMMO
version: 0.8.3 version: 0.8.4