diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-06-16 14:23:56 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-06-16 14:23:56 -0300 |
commit | a5b4a7ceacb426801b3ac28d8c82dfb02114d085 (patch) | |
tree | 9a03b9507d649cb1aaec95564f1547319cd09b99 | |
parent | f88650226142ac850e7e7c016b1d07dacbee0653 (diff) | |
download | serverdata-a5b4a7ceacb426801b3ac28d8c82dfb02114d085.tar.gz serverdata-a5b4a7ceacb426801b3ac28d8c82dfb02114d085.tar.bz2 serverdata-a5b4a7ceacb426801b3ac28d8c82dfb02114d085.tar.xz serverdata-a5b4a7ceacb426801b3ac28d8c82dfb02114d085.zip |
Anwar updated. Now we need Eomie's Bug Bomb, and the rewards :B
-rw-r--r-- | npc/004-1/anwar.txt | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/npc/004-1/anwar.txt b/npc/004-1/anwar.txt index 10d2d5830..eb6f1ed91 100644 --- a/npc/004-1/anwar.txt +++ b/npc/004-1/anwar.txt @@ -14,7 +14,8 @@ if (.@q >= 11) goto L_GiveTinris; if (.@q == 10) goto L_GiftMaterial; */ - if (.@q >= 5) goto L_SecondTry; + if (.@q >= 6) goto L_FirstTry; + if (.@q == 5) goto L_TryIt; if (.@q >= 1) goto L_FirstTry; mesn; @@ -41,7 +42,30 @@ L_FirstTry: mesq l("Good luck getting the fertilizer from Eomie! Many elves simply refuse to cooperate until it affects them directly."); close; -L_SecondTry: +L_TryIt: + .@q2=getq2(TulimsharQuest_AnwarField); + mesn; + mesq l("You've brought me fertilizer! Let me see if it works..."); + next; + setq2 TulimsharQuest_AnwarField, .@q2+1; + + // Fail chances are 100% - 10% per attempt + if (rand(0,100) < 100-(.@q2*10)) { + setq1 TulimsharQuest_AnwarField, 6; + mes col("Nothing happens.", 9); + next; + mesn; + mesq l("Uh... Something should happen, right? Can you get another one?"); + } else { + setq1 TulimsharQuest_AnwarField, 7; + mes col("Evil worms crawl from earth and starts devoring the plants!", 9); + next; + mesn; + mesq l("Uh... That should not happen, right? RIGHT?"); + next; + mesn; + mesq l("Don't just stand here! Go fetch help, NOW!!"); + } close; |