summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorementalo <ementalo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-04-26 12:48:24 +0000
committerementalo <ementalo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-04-26 12:48:24 +0000
commit530fc325152551747c4c1bd08d633976301a832c (patch)
tree10441bfa19272e1376f2e3c288dd316035bce73b
parentaaee159fc9958d8aab409bd0eb89b2486807b39d (diff)
downloadEssentials-530fc325152551747c4c1bd08d633976301a832c.tar
Essentials-530fc325152551747c4c1bd08d633976301a832c.tar.gz
Essentials-530fc325152551747c4c1bd08d633976301a832c.tar.lz
Essentials-530fc325152551747c4c1bd08d633976301a832c.tar.xz
Essentials-530fc325152551747c4c1bd08d633976301a832c.zip
[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
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandlightning.java2
-rw-r--r--Essentials/src/plugin.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandlightning.java b/Essentials/src/com/earth2me/essentials/commands/Commandlightning.java
index a2379c752..6476771cb 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandlightning.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandlightning.java
@@ -37,7 +37,7 @@ public class Commandlightning extends EssentialsCommand
{
user.sendMessage("§7Smiting" + p.getDisplayName());
world.strikeLightning(p.getLocation());
- p.setHealth(0);
+ p.setHealth(p.getHealth() - 5);
p.sendMessage("§7You have just been smited");
}
user.charge(this);
diff --git a/Essentials/src/plugin.yml b/Essentials/src/plugin.yml
index 654dba375..788842261 100644
--- a/Essentials/src/plugin.yml
+++ b/Essentials/src/plugin.yml
@@ -145,7 +145,7 @@ commands:
usage: /<command>
aliases: [playerlist,who,online,elist]
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]
mail:
description: Manages inter-player, intra-server mail.