summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-26 01:17:53 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-26 01:17:53 -0300
commite43844e004b47367eb3b4da1a97bfd5f54b24754 (patch)
treef75c8329398709b060a5d36c12e3752f10c12beb /npc
parent9d0dbf20d7e9a33e9c1c64227223333a1761b0aa (diff)
downloadserverdata-e43844e004b47367eb3b4da1a97bfd5f54b24754.tar.gz
serverdata-e43844e004b47367eb3b4da1a97bfd5f54b24754.tar.bz2
serverdata-e43844e004b47367eb3b4da1a97bfd5f54b24754.tar.xz
serverdata-e43844e004b47367eb3b4da1a97bfd5f54b24754.zip
Clean Up inc_sc_bonus player variables. Wait, we have a function now.
Why are we using a NPC event?!
Diffstat (limited to 'npc')
-rw-r--r--npc/items/inc_sc_bonus.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/items/inc_sc_bonus.txt b/npc/items/inc_sc_bonus.txt
index 32aeec6a0..98e4ca104 100644
--- a/npc/items/inc_sc_bonus.txt
+++ b/npc/items/inc_sc_bonus.txt
@@ -61,6 +61,10 @@ function script SC_Bonus {
- script inc_sc_bonus -1,{
OnUse:
SC_Bonus(@delay, @type, @min, @max);
+ @delay=0;
+ @type=0;
+ @min=0;
+ @max=0;
end;
}