From 14debe7f7c4a1f71a1fdac2fffb71a90ac82abba Mon Sep 17 00:00:00 2001 From: Reid Yaro Date: Sat, 1 Jun 2013 03:30:56 +0100 Subject: Remove the poison function. --- npc/items/poison.txt | 21 --------------------- npc/scripts.conf | 1 - 2 files changed, 22 deletions(-) delete mode 100644 npc/items/poison.txt 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 -- cgit v1.2.3-70-g09d2