diff options
author | mekolat <mekolat@users.noreply.github.com> | 2015-11-30 08:49:28 -0500 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2015-11-30 08:49:28 -0500 |
commit | 580598d709ff37353ff0ce87e7366058afc7d117 (patch) | |
tree | bb9c929e9e50482ae415180b57e9503061270d12 /world/map/npc/items | |
parent | a9bce8e7c28b67548dd2d801459b4014d242abbc (diff) | |
download | serverdata-580598d709ff37353ff0ce87e7366058afc7d117.tar.gz serverdata-580598d709ff37353ff0ce87e7366058afc7d117.tar.bz2 serverdata-580598d709ff37353ff0ce87e7366058afc7d117.tar.xz serverdata-580598d709ff37353ff0ce87e7366058afc7d117.zip |
add 2s delay to rubber bat
Diffstat (limited to 'world/map/npc/items')
-rw-r--r-- | world/map/npc/items/rubber_bat.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/world/map/npc/items/rubber_bat.txt b/world/map/npc/items/rubber_bat.txt new file mode 100644 index 00000000..edf12416 --- /dev/null +++ b/world/map/npc/items/rubber_bat.txt @@ -0,0 +1,11 @@ +function|script|rubberBat +{ + if (gettimetick(2) - @lastbat < 2) goto L_Return; + misceffect 403; + set @lastbat, gettimetick(2); + goto L_Return; + +L_Return: + getitem "RubberBat", 1; + return; +} |