diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-01-27 18:37:16 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-01-27 18:37:16 -0300 |
commit | ceba42608e7336b4c8e4bf31f0c0ef4324d738a2 (patch) | |
tree | 510644d3b7814f2ea57c3566157fd01bca7b66d3 /npc/027-0 | |
parent | de4808ebad7b8abd53f74e30caca760cec9e7bf6 (diff) | |
download | serverdata-ceba42608e7336b4c8e4bf31f0c0ef4324d738a2.tar.gz serverdata-ceba42608e7336b4c8e4bf31f0c0ef4324d738a2.tar.bz2 serverdata-ceba42608e7336b4c8e4bf31f0c0ef4324d738a2.tar.xz serverdata-ceba42608e7336b4c8e4bf31f0c0ef4324d738a2.zip |
Study Skill is now available (and very cheap as well!)
Diffstat (limited to 'npc/027-0')
-rw-r--r-- | npc/027-0/enrique.txt | 40 |
1 files changed, 38 insertions, 2 deletions
diff --git a/npc/027-0/enrique.txt b/npc/027-0/enrique.txt index 5b9a24169..e4115033b 100644 --- a/npc/027-0/enrique.txt +++ b/npc/027-0/enrique.txt @@ -120,9 +120,45 @@ mesq l("But pretty much, anything which contributes to the common knowledge of this world. It might even be writing a NPC telling about the world history, developing software for Wiki/GameInfo/etc., it all depends on the scholars."); break; case 9: - // TODO: Give TMW2_STUDY for MSP. Need X skills learnt or 1M GP. mesn; - mesq l("Soon enough, young %s. The study skill is almost finished... Muahaha!", strcharinfo(0)); + mesq l("The study skill allows you to see the exact health a monster have, as well some details."); + next; + mesn; + mesq l("And if you study them well, you'll also gain more Research Points than you would get with other skills."); + next; + mesn; + mesq l("Think on it like a... perk, for having helped the adventurers in this world. I just need to check if you are eligible, hold still."); + next; + mesn; + mesc l("%s takes a paper from his drawer. It has your photo on it.", .name$); + next; + mesn; + mesq l("%s, %s in Magic Arts, Parity Level %d, tier %d mage.", strcharinfo(0), academicrank(), REBIRTH*100+BaseLevel, MAGIC_LVL); + next; + if (MAGIC_LVL < (1+getskilllv(TMW2_STUDY))) { + mesn; + mesq l("The skill would be wasted on a noob mage like you. Go get more magic power first!"); + break; + } + if (REBIRTH*100+BaseLevel < (1+getskilllv(TMW2_STUDY))*50) { + mesn; + mesq l("The skill would be wasted on a noob like you. You are weak. Go gain a few levels and then return here."); + break; + } + // TODO: Need X skills learnt or 1M GP. + .@price = (1+getskilllv(TMW2_STUDY)) * 1000; + mesn; + mesq l("Teaching you how to study will take from my time, so I'll want a small compromise of %s GP to make sure you will actually make good use of it.", fnum(.@price)); + if (Zeny < .@price) + break; + next; + mesc l("Pay the tuition fee?"), 1; + if (askyesno() == ASK_YES) { + Zeny-=.@price; + skill TMW2_STUDY, getskilllv(TMW2_STUDY)+1, 0; + mesn; + mesq l("Use its powers for good!"); + } break; } } while (@menu != 1); |