summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-19 16:41:31 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-19 16:41:31 -0300
commitb06a080f14e021275a72223158db9ee7b05b3bf2 (patch)
tree47f7bd578df644433dedde6e5471d996ab50c3c4 /npc
parent0f91381dd56cb0700463df7976d16dbcb872ca66 (diff)
downloadserverdata-b06a080f14e021275a72223158db9ee7b05b3bf2.tar.gz
serverdata-b06a080f14e021275a72223158db9ee7b05b3bf2.tar.bz2
serverdata-b06a080f14e021275a72223158db9ee7b05b3bf2.tar.xz
serverdata-b06a080f14e021275a72223158db9ee7b05b3bf2.zip
Jakod Skill Tree Removed (superseeded)
Diffstat (limited to 'npc')
-rw-r--r--npc/003-1/jakod.txt62
1 files changed, 18 insertions, 44 deletions
diff --git a/npc/003-1/jakod.txt b/npc/003-1/jakod.txt
index e0955e1d3..f370cca19 100644
--- a/npc/003-1/jakod.txt
+++ b/npc/003-1/jakod.txt
@@ -14,19 +14,25 @@
if (BaseLevel < $MANA_BLVL) close;
mes l("\"Ah, hello there, @@. You've grown quite skilled lately.", strcharinfo(0));
- if (MAGIC_LVL) mes l("I also see you have a level @@ magic skill!\"", MAGIC_LVL);
- if (!MAGIC_LVL) mes l("But you lack magic! That's a pity.\"");
-
- menu
- rif(!MAGIC_LVL, l("How do I get magic?")), L_HowTo,
- rif(MAGIC_LVL >= 1 && !getskilllv(AL_HEAL), l("Can you teach me a basic tier 1 magic skill?")), L_Tier1,
- rif(MAGIC_LVL >= 2 && !getskilllv(EVOL_MASS_PROVOKE), l("Can you teach me a basic tier 2 magic skill?")), L_Tier2,
- //rif(MAGIC_LVL >= 3 && !getskilllv(AL_TELEPORT), SM_ENDURE is in ragger
- l("Good bye."), -;
-
- close;
+ if (MAGIC_LVL) {
+ mes l("I also see you have a level @@ magic skill!\"", MAGIC_LVL);
+ next;
+ mes l("Did you got an @@ yet? That book have great insight on several details concerning mana and its usages!", getitemlink(JesusavesGrimorium));
+ next;
+ mes l("Anyway, you can see how skilled using Mana Magic with @@. Mana Magic is the one which requires concentration, to bring things into existence, for example.", b("@sk-abizit"));
+ next;
+ mes l("Well, if you ever need help, do not hesit reading the wiki ;-)");
+ close;
+ } else {
+ mes l("But you lack magic! That's a pity.\"");
+ select
+ l("How do I get magic?"),
+ l("Good bye.");
+ if (@menu == 2)
+ close;
+ mes "";
+ }
-L_HowTo:
mes "";
mesn;
mesq l("Well, the first thing would be to get access to a Mana Stone. Halinarzo had the biggest mana stone mines, but it's now depleted.");
@@ -48,38 +54,6 @@ L_HowTo:
mesq l("Because in the end, you are in the hands of your class leader!"); // Rare: Some loner NPCs may grant you EXTRA skills beyond that.
close;
-L_Tier1:
- mes "";
- mesn;
- mesq l("Yeah, of course. I will teach you how to give first aid to people.");
- next;
- mesn;
- mesq l("It takes a lot of mana, and is not very powerful, but it is a must have for everyone.");
- next;
- mesn;
- mesq l("I'll charge you the irrelevant amount of 100 GP. Come on, it's a pinch!");
- select
- rif(Zeny >= 100, l("Buy it")),
- l("Don't buy it");
- if (@menu == 1) {
- Zeny=Zeny-100;
- skill(AL_HEAL,1,0);
- }
- close;
-
-L_Tier2:
- mes "";
- mesn;
- mesq l("Yeah, of course. This one is rather useless and difficult to use, though.");
- next;
- mesn;
- mesq l("It's called Mass Provoke. You'll basically try to convince monsters to attack you.");
- next;
- mesn;
- mesq l("Ah... I am too lazy to ask for anything in exchange. Here. Take it. Free.");
- skill(EVOL_MASS_PROVOKE,1,0);
- close;
-
OnInit:
.@npcId = getnpcid(.name$);
setunitdata(.@npcId, UDT_HEADTOP, NPCEyes);