Code:case "onehp": player.setHitpoints(1); return true;
|
I'd like a command that would give 1hp when used, for example ":nehp" would make your HP one? Thanks
Code:case "onehp": player.setHitpoints(1); return true;
742..
if (cmd[0].equals("onehp")) {
player.setHitpoints(1);
return true;
}
case "1hp":
player.applyHit(new Hit(player, player.getHitpoints() - 1, HitLook.CRITICAL_DAMAGE));
return true;
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |