summaryrefslogtreecommitdiff
path: root/world/map/npc/items/silver_bell.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/items/silver_bell.txt')
-rw-r--r--world/map/npc/items/silver_bell.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/world/map/npc/items/silver_bell.txt b/world/map/npc/items/silver_bell.txt
index 8a791bff..07623426 100644
--- a/world/map/npc/items/silver_bell.txt
+++ b/world/map/npc/items/silver_bell.txt
@@ -1,12 +1,10 @@
function|script|SilverBellSound
{
- if (gettimetick(2) - @lastsilverbell < 20) goto L_Return;
+ if (gettimetick(2) - @lastsound < 2) goto L_Return;
misceffect 404;
- set @lastsilverbell, gettimetick(2);
+ set @lastsound, gettimetick(2);
goto L_Return;
L_Return:
- getitem "SilverBell", 1;
-// debugmes "Check";
return;
}