diff options
author | ementalo <ementalo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-04-26 12:48:24 +0000 |
---|---|---|
committer | ementalo <ementalo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-04-26 12:48:24 +0000 |
commit | e2173660c588ca0607e6710f565bfda6d18fc777 (patch) | |
tree | a15ef342d6a56686514bd2c9b9d9e407cedaf197 | |
parent | 9ed39895b30a8b98432cde16d620c247c537d6b5 (diff) | |
download | Essentials-e2173660c588ca0607e6710f565bfda6d18fc777.tar Essentials-e2173660c588ca0607e6710f565bfda6d18fc777.tar.gz Essentials-e2173660c588ca0607e6710f565bfda6d18fc777.tar.lz Essentials-e2173660c588ca0607e6710f565bfda6d18fc777.tar.xz Essentials-e2173660c588ca0607e6710f565bfda6d18fc777.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.java | 2 | ||||
-rw-r--r-- | Essentials/src/plugin.yml | 2 |
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.
|