diff options
Diffstat (limited to 'npc/003-0/priest.txt')
-rw-r--r-- | npc/003-0/priest.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/npc/003-0/priest.txt b/npc/003-0/priest.txt index 64817d5a5..958c9d710 100644 --- a/npc/003-0/priest.txt +++ b/npc/003-0/priest.txt @@ -61,6 +61,7 @@ L_Member: rif(sk_intcost(ALL_RESURRECTION) && getskilllv(ALL_RESURRECTION) < (1+degree_subclass()/2), l("Learn Ressurection")), rif(sk_intcost(MG_SRECOVERY) && sk_canlvup(MG_SRECOVERY), l("Improve Mana Recovery")), rif(sk_intcost(PR_ASPERSIO) && sk_canlvup(PR_ASPERSIO), l("Improve Blessed Weapon")), + rif(sk_intcost(AB_HIGHNESSHEAL) && sk_canlvup(AB_HIGHNESSHEAL), l("Improve Luma")), l("Leave Subclass"), l("Nothing at the moment."); mes ""; @@ -203,6 +204,34 @@ L_Member: } break; case 6: + mesc l("[Luma]"); + mesc l("More powerful version of healing. Requires @@ each cast.", getitemlink(Lifestone)); + mes ""; + mesn; + mesq l("This useful skill will only require:"); + mesc l("@@/@@ @@", countitem(Lifestone), (getskilllv(AB_HIGHNESSHEAL)+1)*70, getitemlink(Lifestone)); + mesc l("@@/@@ @@", countitem(Root), (getskilllv(AB_HIGHNESSHEAL)+1)*10, getitemlink(Root)); + mesc l("@@/@@ @@", countitem(FrozenYetiTear),(getskilllv(AB_HIGHNESSHEAL)+1)*2, getitemlink(FrozenYetiTear)); + mesc l("@@/@@ @@", countitem(FluoPowder), (getskilllv(AB_HIGHNESSHEAL)+1)*1, getitemlink(FluoPowder)); + next; + if (askyesno() == ASK_YES) { + if ( + countitem(Lifestone) < (getskilllv(AB_HIGHNESSHEAL)+1)*70 || + countitem(Root) < (getskilllv(AB_HIGHNESSHEAL)+1)*10 || + countitem(FrozenYetiTear) < (getskilllv(AB_HIGHNESSHEAL)+1)*2 || + countitem(FluoPowder) < (getskilllv(AB_HIGHNESSHEAL)+1)*1) goto L_Missing; + + delitem Lifestone, (getskilllv(AB_HIGHNESSHEAL)+1)*70; + delitem Root, (getskilllv(AB_HIGHNESSHEAL)+1)*10; + delitem FrozenYetiTear, (getskilllv(AB_HIGHNESSHEAL)+1)*2; + delitem FluoPowder, (getskilllv(AB_HIGHNESSHEAL)+1)*1; + + sk_lvup(AB_HIGHNESSHEAL); + + next; + } + break; + case 7: // 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; |