summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-18 12:37:07 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-18 12:37:07 -0300
commit5ed875d143828037a7289468f99325243d64a506 (patch)
tree57684c1774f1af8322e3667b8d19e9ba0c3044be
parentff631dcaa2f95384567181416e155cd78509ec95 (diff)
downloadserverdata-5ed875d143828037a7289468f99325243d64a506.tar.gz
serverdata-5ed875d143828037a7289468f99325243d64a506.tar.bz2
serverdata-5ed875d143828037a7289468f99325243d64a506.tar.xz
serverdata-5ed875d143828037a7289468f99325243d64a506.zip
Sage is complete.
-rw-r--r--npc/003-0/sage.txt96
1 files changed, 76 insertions, 20 deletions
diff --git a/npc/003-0/sage.txt b/npc/003-0/sage.txt
index fccea67c6..5b7234604 100644
--- a/npc/003-0/sage.txt
+++ b/npc/003-0/sage.txt
@@ -55,9 +55,9 @@ L_Member:
mesn;
mesq l("Hey there! Do you want to learn new skills for a very small teaching fee?");
select
- rif(sk_intcost(SA_FREECAST) && !getskilllv(SA_FREECAST), l("Learn Action Casting")),
- rif(sk_intcost(SA_DRAGONOLOGY) && getskilllv(SA_DRAGONOLOGY) < (1+degree_subclass()/2), l("Improve Dragon Slayer")),
- rif(sk_intcost(TMW2_SAGE) && sk_canlvup(TMW2_SAGE), l("Improve Mana Exp Gain")),
+ rif(sk_intcost(SA_FREECAST) && && getskilllv(SA_FREECAST) < (1+degree_subclass()/2), l("Learn Action Casting")),
+ rif(sk_intcost(SA_DRAGONOLOGY) && getskilllv(SA_DRAGONOLOGY) < (1+degree_subclass()/2), l("Learn Dragon Slayer")),
+ rif(sk_intcost(TMW2_SAGE) && sk_canlvup(TMW2_SAGE), l("Improve Mana Wisdom")),
rif(sk_intcost(SA_FLAMELAUNCHER) && sk_canlvup(SA_FLAMELAUNCHER), l("Improve Fire Weapon")),
rif(sk_intcost(SA_FROSTWEAPON) && sk_canlvup(SA_FROSTWEAPON), l("Improve Ice Weapon")),
rif(sk_intcost(SA_LIGHTNINGLOADER) && sk_canlvup(SA_LIGHTNINGLOADER), l("Improve Wind Weapon")),
@@ -66,33 +66,89 @@ L_Member:
l("Nothing at the moment.");
mes "";
switch (@menu) {
- // SA_FREECAST, SA_DRAGONOLOGY, TMW2_SAGE
case 1:
+ mesc l("[Action Casting]");
+ mesc l("Allows to move/attack while casting. (Melee attacks still interrupt casting!)");
+ mes "";
+ mesn;
+ mesq l("This useful skill will only require:");
+ mesc l("@@/@@ @@", countitem(Tentacle), (getskilllv(SA_FREECAST)+1)*10, getitemlink(Tentacle));
+ mesc l("@@/@@ @@", countitem(MushroomSpores), (getskilllv(SA_FREECAST)+1)*5, getitemlink(MushroomSpores));
+ mesc l("@@/@@ @@", countitem(WolvernTooth), (getskilllv(SA_FREECAST)+1)*3, getitemlink(WolvernTooth));
+ mesc l("@@/@@ @@", countitem(RedScorpionClaw), (getskilllv(SA_FREECAST)+1)*1, getitemlink(RedScorpionClaw));
+ next;
+ if (askyesno() == ASK_YES) {
+ if (
+ countitem(Tentacle) < (getskilllv(SA_FREECAST)+1)*10 ||
+ countitem(MushroomSpores) < (getskilllv(SA_FREECAST)+1)*5 ||
+ countitem(WolvernTooth) < (getskilllv(SA_FREECAST)+1)*3 ||
+ countitem(RedScorpionClaw) < (getskilllv(SA_FREECAST)+1)*1) goto L_Missing;
+
+ delitem Tentacle, (getskilllv(SA_FREECAST)+1)*10;
+ delitem MushroomSpores, (getskilllv(SA_FREECAST)+1)*5;
+ delitem WolvernTooth, (getskilllv(SA_FREECAST)+1)*3;
+ delitem RedScorpionClaw, (getskilllv(SA_FREECAST)+1)*1;
+
+ sk_lvup(SA_FREECAST);
+
+ next;
+ }
+ break;
case 2:
- case 3:
- mesc l("[Party Area Defense]");
- mesc l("Raises defense of the whole party in 5% for a while.");
+ mesc l("[Dragon Slayer]");
+ mesc l("Raises attack and resistance against dragons. Also raises int. Passive.");
mes "";
mesn;
mesq l("This useful skill will only require:");
- mesc l("@@/@@ @@", countitem(PiberriesInfusion), (getskilllv(AL_ANGELUS)+1)*10, getitemlink(PiberriesInfusion));
- mesc l("@@/@@ @@", countitem(BlackMambaEgg), (getskilllv(AL_ANGELUS)+1)*2, getitemlink(BlackMambaEgg));
- mesc l("@@/@@ @@", countitem(MoubooSteak), (getskilllv(AL_ANGELUS)+1)*4, getitemlink(MoubooSteak));
- mesc l("@@/@@ @@", countitem(IronIngot), (getskilllv(AL_ANGELUS)+1)*1, getitemlink(IronIngot));
+ mesc l("@@/@@ @@", countitem(Acorn), (getskilllv(SA_DRAGONOLOGY)+1)*70, getitemlink(Acorn));
+ mesc l("@@/@@ @@", countitem(Root), (getskilllv(SA_DRAGONOLOGY)+1)*10, getitemlink(Root));
+ mesc l("@@/@@ @@", countitem(FrozenYetiTear),(getskilllv(SA_DRAGONOLOGY)+1)*2, getitemlink(FrozenYetiTear));
+ mesc l("@@/@@ @@", countitem(FluoPowder), (getskilllv(SA_DRAGONOLOGY)+1)*1, getitemlink(FluoPowder));
next;
if (askyesno() == ASK_YES) {
if (
- countitem(PiberriesInfusion) < (getskilllv(AL_ANGELUS)+1)*10 ||
- countitem(BlackMambaEgg) < (getskilllv(AL_ANGELUS)+1)*2 ||
- countitem(MoubooSteak) < (getskilllv(AL_ANGELUS)+1)*4 ||
- countitem(IronIngot) < (getskilllv(AL_ANGELUS)+1)*1) goto L_Missing;
+ countitem(Acorn) < (getskilllv(SA_DRAGONOLOGY)+1)*70 ||
+ countitem(Root) < (getskilllv(SA_DRAGONOLOGY)+1)*10 ||
+ countitem(FrozenYetiTear) < (getskilllv(SA_DRAGONOLOGY)+1)*2 ||
+ countitem(FluoPowder) < (getskilllv(SA_DRAGONOLOGY)+1)*1) goto L_Missing;
+
+ delitem Acorn, (getskilllv(SA_DRAGONOLOGY)+1)*70;
+ delitem Root, (getskilllv(SA_DRAGONOLOGY)+1)*10;
+ delitem FrozenYetiTear, (getskilllv(SA_DRAGONOLOGY)+1)*2;
+ delitem FluoPowder, (getskilllv(SA_DRAGONOLOGY)+1)*1;
- delitem PiberriesInfusion, (getskilllv(AL_ANGELUS)+1)*10;
- delitem BlackMambaEgg, (getskilllv(AL_ANGELUS)+1)*2;
- delitem MoubooSteak, (getskilllv(AL_ANGELUS)+1)*4;
- delitem IronIngot, (getskilllv(AL_ANGELUS)+1)*1;
+ sk_lvup(SA_DRAGONOLOGY);
- sk_lvup(AL_ANGELUS);
+ next;
+ }
+ break;
+ case 3:
+ mesc l("[Mana Wisdom]");
+ mesc l("Increase mana experience gain, when using mana skills.");
+ mes "";
+ mesn;
+ mesq l("This useful skill will only require:");
+ mesc l("@@/@@ @@", countitem(Acorn), (getskilllv(TMW2_SAGE)+1)*60, getitemlink(Acorn));
+ mesc l("@@/@@ @@", countitem(Bread), (getskilllv(TMW2_SAGE)+1)*30, getitemlink(Bread));
+ mesc l("@@/@@ @@", countitem(SmallMushroom), (getskilllv(TMW2_SAGE)+1)*20, getitemlink(SmallMushroom));
+ mesc l("@@/@@ @@", countitem(PinkBlobime), (getskilllv(TMW2_SAGE)+1)*20, getitemlink(PinkBlobime));
+ mesc l("@@/@@ @@", countitem(RedApple), (getskilllv(TMW2_SAGE)+1)*15, getitemlink(RedApple));
+ next;
+ if (askyesno() == ASK_YES) {
+ if (
+ countitem(Acorn) < (getskilllv(TMW2_SAGE)+1)*60 ||
+ countitem(Bread) < (getskilllv(TMW2_SAGE)+1)*30 ||
+ countitem(SmallMushroom) < (getskilllv(TMW2_SAGE)+1)*20 ||
+ countitem(PinkBlobime) < (getskilllv(TMW2_SAGE)+1)*20 ||
+ countitem(RedApple) < (getskilllv(TMW2_SAGE)+1)*15) goto L_Missing;
+
+ delitem Acorn, (getskilllv(TMW2_SAGE)+1)*60;
+ delitem Bread, (getskilllv(TMW2_SAGE)+1)*30;
+ delitem SmallMushroom, (getskilllv(TMW2_SAGE)+1)*20;
+ delitem PinkBlobime, (getskilllv(TMW2_SAGE)+1)*20;
+ delitem RedApple, (getskilllv(TMW2_SAGE)+1)*15;
+
+ sk_lvup(TMW2_SAGE);
next;
}