diff options
author | Reid Yaro <reidyaro@gmail.com> | 2013-06-01 03:30:56 +0100 |
---|---|---|
committer | Reid Yaro <reidyaro@gmail.com> | 2013-06-01 03:30:56 +0100 |
commit | 14debe7f7c4a1f71a1fdac2fffb71a90ac82abba (patch) | |
tree | 7769ae2f1a80f0f342e0dfd5068852d5cae20d9d | |
parent | 878f2848ba97c3fb9cc9b645b114692e7285f428 (diff) | |
download | serverdata-14debe7f7c4a1f71a1fdac2fffb71a90ac82abba.tar.gz serverdata-14debe7f7c4a1f71a1fdac2fffb71a90ac82abba.tar.bz2 serverdata-14debe7f7c4a1f71a1fdac2fffb71a90ac82abba.tar.xz serverdata-14debe7f7c4a1f71a1fdac2fffb71a90ac82abba.zip |
Remove the poison function.
-rw-r--r-- | npc/items/poison.txt | 21 | ||||
-rw-r--r-- | npc/scripts.conf | 1 |
2 files changed, 0 insertions, 22 deletions
diff --git a/npc/items/poison.txt b/npc/items/poison.txt deleted file mode 100644 index c940ac26..00000000 --- a/npc/items/poison.txt +++ /dev/null @@ -1,21 +0,0 @@ -// Evol scripts. -// Authors: -// Alastrim -// Alige -// Reid -// Vasily_Makarov -// Description: -// Poison effect of some items with arguments: -// getarg(0) randomness of bad luck to be poisoned, -// getarg(1) heal value, -// getarg(2) poison value (not implemented yet). - -function script usePoison { - set @temp, rand(getarg(0)); - if (@temp == 0) sc_start sc_poison, 1, 50; - set @temp, 0; - set @r, 0; - itemheal getarg(1), 0; - set @h, 0; - return; -} diff --git a/npc/scripts.conf b/npc/scripts.conf index 67aefabb..9dc36b3b 100644 --- a/npc/scripts.conf +++ b/npc/scripts.conf @@ -6,7 +6,6 @@ import: npc/_import.txt // Item functions npc: npc/items/croconut.txt npc: npc/items/oldbook.txt -npc: npc/items/poison.txt // Script functions npc: npc/functions/clientversion.txt |