summaryrefslogtreecommitdiff
path: root/world
diff options
context:
space:
mode:
Diffstat (limited to 'world')
-rw-r--r--world/map/npc/items/rubber_bat.txt4
-rw-r--r--world/map/npc/items/rubber_duck.txt4
-rw-r--r--world/map/npc/items/silver_bell.txt4
3 files changed, 6 insertions, 6 deletions
diff --git a/world/map/npc/items/rubber_bat.txt b/world/map/npc/items/rubber_bat.txt
index a849b40d..ea569a22 100644
--- a/world/map/npc/items/rubber_bat.txt
+++ b/world/map/npc/items/rubber_bat.txt
@@ -1,8 +1,8 @@
function|script|rubberBat
{
- if (gettimetick(2) - @lastbat < 2) goto L_Return;
+ if (gettimetick(2) - @lastsound < 2) goto L_Return;
misceffect 403;
- set @lastbat, gettimetick(2);
+ set @lastsound, gettimetick(2);
goto L_Return;
L_Return:
diff --git a/world/map/npc/items/rubber_duck.txt b/world/map/npc/items/rubber_duck.txt
index 3dba2368..8a822752 100644
--- a/world/map/npc/items/rubber_duck.txt
+++ b/world/map/npc/items/rubber_duck.txt
@@ -1,8 +1,8 @@
function|script|rubberDuck
{
- if (gettimetick(2) - @lastduck < 3) goto L_Return;
+ if (gettimetick(2) - @lastsound < 2) goto L_Return;
misceffect 406;
- set @lastduck, gettimetick(2);
+ set @lastsound, gettimetick(2);
goto L_Return;
L_Return:
diff --git a/world/map/npc/items/silver_bell.txt b/world/map/npc/items/silver_bell.txt
index c1ea2e50..07623426 100644
--- a/world/map/npc/items/silver_bell.txt
+++ b/world/map/npc/items/silver_bell.txt
@@ -1,8 +1,8 @@
function|script|SilverBellSound
{
- if (gettimetick(2) - @lastsilverbell < 3) 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: