summaryrefslogtreecommitdiff
path: root/world/map/npc/items/rubber_duck.txt
diff options
context:
space:
mode:
authorAJ K <aj@keresztes.us>2024-08-28 14:37:48 -0400
committerAJ K <aj@keresztes.us>2024-08-28 14:37:48 -0400
commite39be783e852f390d61776c51c006d444a131f0b (patch)
tree8183fcb880c427c10f0ff341e8981a4e1afa7e6f /world/map/npc/items/rubber_duck.txt
parentcca41e5ba8fcd2e971303fd54be8786c86d82c7e (diff)
parent59aa2316201d785beee4abe7a4cfe6b87f53beb1 (diff)
downloadserverdata-e39be783e852f390d61776c51c006d444a131f0b.tar.gz
serverdata-e39be783e852f390d61776c51c006d444a131f0b.tar.bz2
serverdata-e39be783e852f390d61776c51c006d444a131f0b.tar.xz
serverdata-e39be783e852f390d61776c51c006d444a131f0b.zip
Diffstat (limited to 'world/map/npc/items/rubber_duck.txt')
-rw-r--r--world/map/npc/items/rubber_duck.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/world/map/npc/items/rubber_duck.txt b/world/map/npc/items/rubber_duck.txt
index 3f591c15..8a822752 100644
--- a/world/map/npc/items/rubber_duck.txt
+++ b/world/map/npc/items/rubber_duck.txt
@@ -1,11 +1,10 @@
function|script|rubberDuck
{
- if (gettimetick(2) - @lastbat < 2) goto L_Return;
+ if (gettimetick(2) - @lastsound < 2) goto L_Return;
misceffect 406;
- set @lastbat, gettimetick(2);
+ set @lastsound, gettimetick(2);
goto L_Return;
L_Return:
- getitem "RubberDucky", 1;
return;
}