diff options
author | coffee <coffee@coffee-EP45-UD3L.(none)> | 2011-08-26 09:17:53 -0300 |
---|---|---|
committer | coffee <coffee@coffee-EP45-UD3L.(none)> | 2011-08-26 09:17:53 -0300 |
commit | 2d84f24f1dbd74efcf930c35207b5ad3d013a5f4 (patch) | |
tree | 14bebd06bba0c0da806e0228784a5420ab511a03 /world/map/npc/033-1 | |
parent | 8a90a9ad690f6cfb1370a05a1c71b477d4c829d8 (diff) | |
download | serverdata-2d84f24f1dbd74efcf930c35207b5ad3d013a5f4.tar.gz serverdata-2d84f24f1dbd74efcf930c35207b5ad3d013a5f4.tar.bz2 serverdata-2d84f24f1dbd74efcf930c35207b5ad3d013a5f4.tar.xz serverdata-2d84f24f1dbd74efcf930c35207b5ad3d013a5f4.zip |
Fixes some small syntax errors and change the way the script checks if you are loggedin or inside the right area.
Diffstat (limited to 'world/map/npc/033-1')
-rw-r--r-- | world/map/npc/033-1/kimarr.txt | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/world/map/npc/033-1/kimarr.txt b/world/map/npc/033-1/kimarr.txt index 7594ed5c..de869f65 100644 --- a/world/map/npc/033-1/kimarr.txt +++ b/world/map/npc/033-1/kimarr.txt @@ -77,7 +77,7 @@ L_Ask: // this label is reached on completion of the quest, or, if you inventory was // full at the time, when you next initiate dialog (with @state == 2) L_Reward: - mes "[Kimarr]" + mes "[Kimarr]"; mes "That was very impressive - now you can call yourself a hunter, " + strcharinfo(0) + "."; next; @@ -132,12 +132,15 @@ L_Attention: end; OnTimer1000: - if (!attachrid($@Fluffy_FighterID)) +// Checking if player is logged + if (isloggedin($@Fluffy_FighterID) == 0) + goto L_GotOut; + attachrid($@Fluffy_FighterID); +// Checking if player is still in the map or used a towell or spell to get out + if (getareausers("033-1.gat", 79, 28, 88, 42) == 0) goto L_GotOut; if (PC_DIE_COUNTER > $@Fluffy_PC_Deaths) goto L_Died; - if (!getareausers("033-1.gat", 79, 28, 88, 42)) - goto L_GotOut; set $@Fluffy_Time, $@Fluffy_Time + 1; if ($@Fluffy_Time > 300) @@ -217,7 +220,7 @@ OnFluffyDeath: L_DidntDrop: warp "033-1.gat", 77, 34; - mes "[Kimarr]" + mes "[Kimarr]"; mes "You waited too much to throw the food on the ground... Now the fluffies know you are planning something."; callsub S_Clean; goto L_Close; |