diff options
Diffstat (limited to 'npc/005-7')
-rw-r--r-- | npc/005-7/trainer.txt | 34 |
1 files changed, 29 insertions, 5 deletions
diff --git a/npc/005-7/trainer.txt b/npc/005-7/trainer.txt index 57b26701b..6b58b8d7e 100644 --- a/npc/005-7/trainer.txt +++ b/npc/005-7/trainer.txt @@ -43,7 +43,7 @@ L_Menu: mesq l("["+ strcharinfo(0) +"]"); menu l("How can you help me?"), L_ExplicaSiProprio, - l("I want to be trained!"), L_Trainment, + rif(getq(CandorQuest_Trainer) < 15, l("I want to be trained!")), L_Trainment, l("How do I make money?"), L_ExplicaGrama, l("How I see my items?"), L_ExplicaBagagem, l("How trade with other players?"), L_ExplicaTrade, @@ -105,14 +105,25 @@ L_Trainment: mesq l("You are killing @@ at northwest from the island.", getmonsterlink(Scorpion)); } else if (.@q == 11) { mesq l("Congratulations! Here is your reward (40 xp 25 gp)."); - mesq l("You completed all my tasks, so you're getting 50 bonus experience points. If you level up, use your stat points wisely!"); + mesq l("You completed your trainment, so you're getting 50 bonus experience points. If you level up, use your stat points wisely!"); getexp 90, 0; set Zeny, Zeny + 25; setq CandorQuest_Trainer, 12, 0; - } else { - mesq l("You are already fully trained. Go to Tulimshar, and try to join a guild or something."); + } else if (.@q == 12 && BaseLevel >= 10) { + mesq l("You are already fully trained. You should go to Tulimshar, but if you want a bonus task, please kill a @@.", getmonsterlink(ManaBug)); + setq CandorQuest_Trainer, 13, 0; + } else if (.@q == 12 && BaseLevel < 10) { + mesq l("You are already fully trained. You should go to Tulimshar. I may have another task for you later, but you are too weak now, get some levels."); + } else if (.@q == 13) { + mesq l("You are trying to kill a @@.", getmonsterlink(ManaBug)); + } else if (.@q == 14) { + mesq l("Wow! You did it! I do not think anyone else could have done that."); + mesq l("Here, take this @@ - you deserve it! And here is 200 GP to buy a better weapon.", getitemlink(CandorHeadBand)); + inventoryplace CandorHeadBand, 1; + getitem CandorHeadBand, 1; + set Zeny, Zeny + 200; + setq CandorQuest_Trainer, 15, 0; } - next; goto L_PreMenu; @@ -473,6 +484,19 @@ OnKillScorpion: } } end; +OnKillManaBug: + .@q=getq(CandorQuest_Trainer); + .@k=getq2(CandorQuest_Trainer); // Get number of kills (via getq2) + if (.@q == 13) { + if (.@k+1 >= 1) { + trainer_max_kills(); + message strcharinfo(0), l("All mana bugs are dead!"); + } else { + trainer_add_kills(); + message strcharinfo(0), l("@@/1 Mana Bug", .@k+1); + } + } + end; OnInit: .@npcId = getnpcid(0, .name$); |