diff options
author | Coffee <coffee@coffee-EP45-UD3L.(none)> | 2011-06-12 12:46:54 -0300 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2011-06-12 14:51:03 -0700 |
commit | 4c8d2a9e25f3525c62aaf703ee2c35fa5da90dab (patch) | |
tree | 287a6b9b77b473cc66d1c8430a434664a4c7ff56 /npc/009-2/olana.txt | |
parent | 7db5813c87d4b964d7a9caa14bef582935481920 (diff) | |
download | serverdata-4c8d2a9e25f3525c62aaf703ee2c35fa5da90dab.tar.gz serverdata-4c8d2a9e25f3525c62aaf703ee2c35fa5da90dab.tar.bz2 serverdata-4c8d2a9e25f3525c62aaf703ee2c35fa5da90dab.tar.xz serverdata-4c8d2a9e25f3525c62aaf703ee2c35fa5da90dab.zip |
Add fixes and cave fights
Diffstat (limited to 'npc/009-2/olana.txt')
-rw-r--r-- | npc/009-2/olana.txt | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/npc/009-2/olana.txt b/npc/009-2/olana.txt index cafb124b..76381e7e 100644 --- a/npc/009-2/olana.txt +++ b/npc/009-2/olana.txt @@ -1,8 +1,8 @@ 009-2.gat,123,45,0 script Olana 140,{ - if (Rossy_Quest == 17) goto L_FinalEnd; - if (Rossy_Quest == 16) goto L_End; - if (Rossy_Quest == 14) goto L_Julia; + if (FLAGS & FLAG_ROSSI_COMPLETED) goto L_FinalEnd; + if (Rossy_Quest == 17 || Rossy_Quest == 18) goto L_End; + if (Rossy_Quest >= 14 && Rossy_Quest <= 16) goto L_Julia; if (Rossy_Quest == 13) goto L_Best; if (Rossy_Quest == 12) goto L_Give; if (Rossy_Quest == 11) goto L_Allergic; @@ -174,10 +174,18 @@ L_End: L_Found: mes "[Olana]"; - set Rossy_Quest, 17; + if (Rossy_Quest == 17) set Rossy_Quest, 18; + if (Rossy_Quest == 18) set Rossy_Quest, 19; mes "\"Thank you "+ strcharinfo(0) +", thank you! Here is a reward for you.\""; getexp 5000, 0; set zeny, zeny + 5000; + if (Rossy_Quest == 19) goto L_Clear; + close; + +L_Clear: + set Rossy_Quest, 0; + set cavefights, 0; + set FLAGS, FLAGS | FLAG_ROSSI_COMPLETED; close; L_FinalEnd: |