From 2c8c6b83af16beaa0bc4ec49f23faacfbe4a4a3d Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Wed, 7 Sep 2011 12:59:44 -0700 Subject: Fix new argument warnings. Requires the server patch to allow argumentless script functions --- world/map/npc/031-4/cindyCave.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'world/map/npc/031-4') diff --git a/world/map/npc/031-4/cindyCave.txt b/world/map/npc/031-4/cindyCave.txt index f7974daa..c4a589b2 100644 --- a/world/map/npc/031-4/cindyCave.txt +++ b/world/map/npc/031-4/cindyCave.txt @@ -200,7 +200,7 @@ L_NextWave: // Called on each player once every 5 seconds onTick: - if (isdead(0)) end; + if (isdead()) end; set $@FIGHT_YETI_PLAYER_COUNT, $@FIGHT_YETI_PLAYER_COUNT + 1; end; @@ -223,15 +223,14 @@ L_CleanUp: end; onReward: - if (isdead(0)) end; + if (isdead()) end; set @bonus, (baselevel/2); set DailyQuestBonus, DailyQuestBonus + @bonus; message strcharinfo(0), "You feel a temporary rush of power and zest for action. " + @bonus + " daily bonus gained." ; - if (@rescue_Cindy != 1 ) goto L_No_Progress; + if (@rescue_Cindy != 1 ) end; set @rescue_Cindy, 2; callsub S_Update_Mask; message strcharinfo(0), "Cindy looks relieved and as if she wants to talk with you."; -L_No_Progress: end; ///////// -- cgit v1.2.3-60-g2f50