summaryrefslogtreecommitdiff
path: root/npc/003-0
diff options
context:
space:
mode:
Diffstat (limited to 'npc/003-0')
-rw-r--r--npc/003-0/wizard.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/npc/003-0/wizard.txt b/npc/003-0/wizard.txt
index 1b9d1e0b5..6322991c0 100644
--- a/npc/003-0/wizard.txt
+++ b/npc/003-0/wizard.txt
@@ -62,6 +62,7 @@ L_Member:
rif(sk_intcost(MG_LIGHTNINGBOLT) && sk_canlvup(MG_LIGHTNINGBOLT), l("Improve Thunder Bolt")),
rif(sk_intcost(WZ_EARTHSPIKE) && sk_canlvup(WZ_EARTHSPIKE), l("Improve Earth Spike")),
rif(sk_intcost(MG_FIREBOLT) && sk_canlvup(MG_FIREBOLT), l("Improve Fire Bolt")),
+ rif(sk_intcost(MG_FIREBALL) && getskilllv(MG_FIREBALL) < (3+degree_subclass()), l("Improve Fire Ball")),
l("Leave Subclass"),
l("Nothing at the moment.");
mes "";
@@ -179,6 +180,34 @@ L_Member:
}
break;
case 7:
+ mesc l("[Fire Ball]");
+ mesc l("Standard fireball skill.");
+ mes "";
+ mesn;
+ mesq l("This useful skill will only require:");
+ mesc l("@@/@@ @@", countitem(Curshroom), (getskilllv(MG_FIREBALL)+1)*10, getitemlink(Curshroom));
+ mesc l("@@/@@ @@", countitem(FluoPowder), (getskilllv(MG_FIREBALL)+1)*5, getitemlink(FluoPowder));
+ mesc l("@@/@@ @@", countitem(PolishedRuby), (getskilllv(MG_FIREBALL)+1)*3, getitemlink(PolishedRuby));
+ mesc l("@@/@@ @@", countitem(HerbalTea), (getskilllv(MG_FIREBALL)+1)*1, getitemlink(HerbalTea));
+ next;
+ if (askyesno() == ASK_YES) {
+ if (
+ countitem(Curshroom) < (getskilllv(MG_FIREBALL)+1)*10 ||
+ countitem(FluoPowder) < (getskilllv(MG_FIREBALL)+1)*5 ||
+ countitem(PolishedRuby) < (getskilllv(MG_FIREBALL)+1)*3 ||
+ countitem(HerbalTea) < (getskilllv(MG_FIREBALL)+1)*1) goto L_Missing;
+
+ delitem Curshroom, (getskilllv(MG_FIREBALL)+1)*10;
+ delitem FluoPowder, (getskilllv(MG_FIREBALL)+1)*5;
+ delitem PolishedRuby, (getskilllv(MG_FIREBALL)+1)*3;
+ delitem HerbalTea, (getskilllv(MG_FIREBALL)+1)*1;
+
+ sk_lvup(MG_FIREBALL);
+
+ next;
+ }
+ break;
+ case 8:
// All skills related may include the basic class skills if they're related.
mesc l("WARNING: If you leave the subclass, you'll lose all skills related to it!"), 1;
mesc l("This cannot be undone. Are you sure?"), 1;