summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/003-0-1/statues.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/npc/003-0-1/statues.txt b/npc/003-0-1/statues.txt
index 436348f52..19c81eb3c 100644
--- a/npc/003-0-1/statues.txt
+++ b/npc/003-0-1/statues.txt
@@ -5,6 +5,9 @@
// These statues are of great honor to whoever have their name written in them!
003-0-1,63,30,0 script Fortune Statue NPC_STATUE_BANKER,{
+ if (.rate_limit >= gettimetick(2))
+ end;
+ .rate_limit=gettimetick(2);
HallOfFortune();
close;
@@ -12,10 +15,14 @@
OnInit:
.sex = G_OTHER;
.distance = 4;
+ .rate_limit=0;
end;
}
003-0-1,53,30,0 script Strength Statue NPC_STATUE_GUARD,{
+ if (.rate_limit >= gettimetick(2))
+ end;
+ .rate_limit=gettimetick(2);
HallOfLevel();
close;
@@ -23,6 +30,7 @@ OnInit:
OnInit:
.sex = G_OTHER;
.distance = 4;
+ .rate_limit=0;
end;
}