summaryrefslogtreecommitdiff
path: root/npc/027-4
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-10-23 21:44:22 -0300
committerJesusaves <cpntb1@ymail.com>2022-10-23 21:44:22 -0300
commita7c45a192268da2601cef47a4cdba987ae2327ca (patch)
treec5fb5b97db109fe7106496dd96498c475881046b /npc/027-4
downloadserverdata-a7c45a192268da2601cef47a4cdba987ae2327ca.tar.gz
serverdata-a7c45a192268da2601cef47a4cdba987ae2327ca.tar.bz2
serverdata-a7c45a192268da2601cef47a4cdba987ae2327ca.tar.xz
serverdata-a7c45a192268da2601cef47a4cdba987ae2327ca.zip
Initial commit (Moubootaur Legends fork)
Diffstat (limited to 'npc/027-4')
-rw-r--r--npc/027-4/_import.txt4
-rw-r--r--npc/027-4/_warps.txt3
-rw-r--r--npc/027-4/saves.txt139
3 files changed, 146 insertions, 0 deletions
diff --git a/npc/027-4/_import.txt b/npc/027-4/_import.txt
new file mode 100644
index 0000000..a74f425
--- /dev/null
+++ b/npc/027-4/_import.txt
@@ -0,0 +1,4 @@
+// Map 027-4: Scholarship Building
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+"npc/027-4/_warps.txt",
+"npc/027-4/saves.txt",
diff --git a/npc/027-4/_warps.txt b/npc/027-4/_warps.txt
new file mode 100644
index 0000000..856e5c5
--- /dev/null
+++ b/npc/027-4/_warps.txt
@@ -0,0 +1,3 @@
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+// Map 027-4: Scholarship Building warps
+027-4,29,35,0 warp #027-4_29_35 1,0,027-1,107,60
diff --git a/npc/027-4/saves.txt b/npc/027-4/saves.txt
new file mode 100644
index 0000000..c337b80
--- /dev/null
+++ b/npc/027-4/saves.txt
@@ -0,0 +1,139 @@
+// TMW2 Script
+// Author:
+// Jesusalva
+// Description:
+// Mr. Saves of Scholar Class
+
+027-4,28,28,0 script Mr Saves NPC_BLACKALCHEMIST,{
+ function basicMagic;
+ function standardMagic;
+ function advancedMagic;
+ if (!MAGIC_LVL) goto L_NoMagic;
+ mes l(".:: Scholarship Class ::.");
+ mesc l("Specialized in support, buff, debuff and strengthening skills.");
+ next;
+ mesn;
+ mesc l("You have @@ magic skill points available.", sk_points());
+ next;
+ select
+ l("Basic Magic"),
+ l("Standard Magic"),
+ l("Advanced Magic");
+ //l("Mastery Magic");
+ mes "";
+ .@lv=@menu;
+ do
+ {
+ // Display appropriate menu
+ if (.@lv == 1)
+ basicMagic();
+ else if (.@lv == 2)
+ standardMagic();
+ else if (.@lv == 3)
+ advancedMagic();
+
+ // Handle result
+ mes "";
+ if (@menuret) {
+ if (!learn_magic(@menuret)) {
+ mesc l("You do not meet all requisites for this skill."), 1;
+ next;
+ }
+ } else {
+ closeclientdialog;
+ }
+
+ } while (@menuret);
+ close;
+
+function basicMagic {
+ if (MAGIC_LVL < 1) goto L_NoMagic;
+ mes l(".:: First Aid ::.");
+ mesc l("Minor healing to your wounds.");
+ mes "";
+ mes l(".:: Accumulate Power ::.");
+ mesc l("Raise damage of next skill.");
+ mes "";
+ mes l(".:: Provoke ::.");
+ mesc l("Provoke a single monster to attack you.");
+ mes "";
+ mes l(".:: Windwalker ::.");
+ mesc l("Increase walk speed and flee rate.");
+ mes "";
+ mes l(".:: Chanting ::.");
+ mesc l("Reduces MP cost when using chanting-based skills.");
+ mes "";
+ mes l(".:: Transfer Mana ::.");
+ mesc l("Drains your MP bar to replenish target's. Doesn't go past 100%.");
+ mes "";
+ menuint
+ l("First Aid"), TMW2_FIRSTAID,
+ l("Accumulate Power"), HW_MAGICPOWER,
+ l("Provoke"), SM_PROVOKE,
+ l("Windwalker"), SN_WINDWALK,
+ l("Chanting"), TMW2_CHANT,
+ l("Transfer Mana"), TMW2_MPTRANSFER,
+ l("Cancel"), 0;
+ return;
+}
+
+function standardMagic {
+ if (MAGIC_LVL < 2) goto L_NoMagic;
+ // NOTE: Alternate between First Aid + Healing for less cooldown wait
+ mes l(".:: Healing ::.");
+ mesc l("Minor healing to yourself or to allies.");
+ mes "";
+ mes l(".:: Mana Wisdom ::.");
+ mesc l("(Passive) Increases Mana EXP/Control Gain rate.");
+ mes "";
+ mes l(".:: Last Standing Man ::.");
+ mesc l("(Passive) Raise Max HP and Holy Defense.");
+ mes "";
+ mes l(".:: Area Provoke ::.");
+ mesc l("Provokes all monsters around the target, and the target itself.");
+ mes "";
+ menuint
+ l("Healing"), TMW2_HEALING,
+ l("Mana Wisdom"), TMW2_SAGE,
+ l("Last Standing Man"), CR_TRUST,
+ l("Area Provoke"), EVOL_AREA_PROVOKE,
+ l("Cancel"), 0;
+ return;
+}
+
+function advancedMagic {
+ if (MAGIC_LVL < 3) goto L_NoMagic;
+ mes l(".:: Magnus Healing ::.");
+ mesc l("Heals in area every friendly unit (incl. homuns and mercs). Req. Lifestone to cast.");
+ mes "";
+ mes l(".:: Resurrection ::.");
+ mesc l("Revives an already dead allied player. Req. Lifestone to cast.");
+ mes "";
+ menuint
+ l("Magnus Healing"), TMW2_MAGNUSHEAL,
+ l("Resurrection"), TMW2_RESURRECT,
+ l("Cancel"), 0;
+ return;
+}
+
+L_NoMagic:
+ next;
+ mesn;
+ mesq l("You do not have enough magic power for these classes.");
+ next;
+ if ($FIRESOFSTEAM < 9) {
+ mesn;
+ mesq l("Besides the Magic Council, Andrei Sakar have his own Mana Stone, but I doubt he would train the likes of you, or share his Mana Stone.");
+ next;
+ }
+ mesn;
+ mesq l("Perhaps, in the city, someone knows rumors about Mana Stones and can teach you. Other than that, you're on your own.");
+ close;
+
+OnInit:
+ .sex = G_MALE;
+ .distance = 5;
+ end;
+
+}
+