[trunk] lightning, not as harsh, will take 5 hearts.

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1279 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
ementalo 2011-04-26 12:48:24 +00:00
parent aaee159fc9
commit 530fc32515
2 changed files with 2 additions and 2 deletions

View file

@ -37,7 +37,7 @@ public class Commandlightning extends EssentialsCommand
{ {
user.sendMessage("§7Smiting" + p.getDisplayName()); user.sendMessage("§7Smiting" + p.getDisplayName());
world.strikeLightning(p.getLocation()); world.strikeLightning(p.getLocation());
p.setHealth(0); p.setHealth(p.getHealth() - 5);
p.sendMessage("§7You have just been smited"); p.sendMessage("§7You have just been smited");
} }
user.charge(this); user.charge(this);

View file

@ -145,7 +145,7 @@ commands:
usage: /<command> usage: /<command>
aliases: [playerlist,who,online,elist] aliases: [playerlist,who,online,elist]
lightning: lightning:
description: Smite down players with the power of Thor description: Smite down players with the power of Thor, will take 5 hearts
usage: /<command> [player] usage: /<command> [player]
mail: mail:
description: Manages inter-player, intra-server mail. description: Manages inter-player, intra-server mail.