diff options
author | Jessica Tölke <jtoelke@mail.upb.de> | 2010-12-31 01:20:51 +0100 |
---|---|---|
committer | Jessica Tölke <jtoelke@mail.upb.de> | 2010-12-31 01:20:51 +0100 |
commit | d21d470338b6ad5f6d9d540cb61212a4c3bfb064 (patch) | |
tree | 91cae02086fb94b5c13b4f40871f5882392c7f46 /npc | |
parent | 8fbae2c5efa71fa0efd332a4cf71204c32236b78 (diff) | |
download | serverdata-d21d470338b6ad5f6d9d540cb61212a4c3bfb064.tar.gz serverdata-d21d470338b6ad5f6d9d540cb61212a4c3bfb064.tar.bz2 serverdata-d21d470338b6ad5f6d9d540cb61212a4c3bfb064.tar.xz serverdata-d21d470338b6ad5f6d9d540cb61212a4c3bfb064.zip |
Rescue Cindy quest:
- reward fix in Cindy
- blocking the warp of the fight cave during battle
- changing yeti stats for next test
Diffstat (limited to 'npc')
-rw-r--r-- | npc/031-3_Cave/cindyCave.txt | 9 | ||||
-rwxr-xr-x | npc/031-3_Cave/labyrinth.txt | 8 |
2 files changed, 13 insertions, 4 deletions
diff --git a/npc/031-3_Cave/cindyCave.txt b/npc/031-3_Cave/cindyCave.txt index 77046422..03bb0bde 100644 --- a/npc/031-3_Cave/cindyCave.txt +++ b/npc/031-3_Cave/cindyCave.txt @@ -90,7 +90,7 @@ L_Reward: getinventorylist; if (@inventorylist_count == 100) goto L_Full_Inv; - set @reward, rand(1); + set @reward, rand(2); if (@reward == 1) goto L_Wizard_Hat; //TODO: set right, when quarterstaff is in item_db //getitem "WoodenStaff", 1; @@ -100,8 +100,8 @@ L_Reward: L_Wizard_Hat: //TODO: set right, when quarterstaff is in item_db - //getitem "WizardHat", 1; - mes "DEBUG: GET ACORN INSTEAD OF WIZARDHAT"; + //getitem "BugLeg", 1; + mes "DEBUG: GET BUGLEG INSTEAD OF WIZARDHAT"; getitem "acorn", 1; L_Visit: @@ -183,11 +183,12 @@ onReward: if (isdead(0)) end; //TODO: determine, if and how many boss points should be added set BOSS_POINTS, BOSS_POINTS + 100; -//TODO: check, if two messages for the player works message strcharinfo(0), "You gain 100 Boss Points giving you a total of " + BOSS_POINTS; + if (@rescue_Cindy < 1) goto L_No_Progress; 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; ///////// diff --git a/npc/031-3_Cave/labyrinth.txt b/npc/031-3_Cave/labyrinth.txt index 89a0623a..a73085e3 100755 --- a/npc/031-3_Cave/labyrinth.txt +++ b/npc/031-3_Cave/labyrinth.txt @@ -264,10 +264,18 @@ } 031-3.gat,120,81,0 script #ChristmasBarrier 127,1,1,{ + if ($@FIGHT_YETI_STATUS == 1) goto L_Block; warp "031-3.gat", 46, 27; + end; +L_Block: + message strcharinfo(0), "Some force seems to be blocking you from exiting."; end; } 031-3.gat,46,24,0 script #ChristmasBarrier 127,1,1,{ +if ($@FIGHT_YETI_STATUS == 1) goto L_Blocked; warp "031-3.gat", 120, 79; + end; +L_Blocked: + message strcharinfo(0), "Some force seems to be blocking you from entering."; end; } |