summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-05-28 15:04:19 -0300
committerJesusaves <cpntb1@ymail.com>2021-05-28 15:04:19 -0300
commit6af80edeb71f64a25d872558b2f94c9dc82b8485 (patch)
tree7383a00eef94cf976e8c4c10f60608a6a53fb501
parent5026fb3faf01db18209d1bbe85cbd16762b01027 (diff)
downloadserverdata-6af80edeb71f64a25d872558b2f94c9dc82b8485.tar.gz
serverdata-6af80edeb71f64a25d872558b2f94c9dc82b8485.tar.bz2
serverdata-6af80edeb71f64a25d872558b2f94c9dc82b8485.tar.xz
serverdata-6af80edeb71f64a25d872558b2f94c9dc82b8485.zip
Readd brawling. Close #2
-rw-r--r--npc/002-1/luca.txt15
1 files changed, 10 insertions, 5 deletions
diff --git a/npc/002-1/luca.txt b/npc/002-1/luca.txt
index ce36175a..6d402b4c 100644
--- a/npc/002-1/luca.txt
+++ b/npc/002-1/luca.txt
@@ -130,7 +130,7 @@ L_Teach0_follow:
learnskill SKILL_POOL, 1;
getexp 10000, 0;
next;
- goto L_Teachmore2;
+ goto L_Teachmore;
L_wronganswer:
mesn l("Luca the Hunter");
@@ -258,7 +258,12 @@ L_Teachmore:
switch (@menuret) {
case -3: close;
case -2: goto L_Explain;
- case -1: mesn; mesq l("Not yet."); next; break;
+ case -1:
+ if (getskilllv(SKILL_BRAWLING))
+ goto L_Teach_nothing;
+ else
+ goto L_Teach_brawling;
+ break;
default:
if (FOCUSING & getpoolskillFID(@menuret)) {
unpoolskill(@menuret);
@@ -343,6 +348,7 @@ L_MenuItems2:
unpoolskill @skilllist_id[@menu];
goto L_Nev;;
+ */
L_Teach_brawling:
mesn l("Luca the Hunter");
@@ -368,7 +374,7 @@ L_Teach_brawling:
@SUP_lvl = 0;
@SUP_name$ = "";
@SUP_xp = 0;
- goto L_Nev;;
+ close;
L_Teach_nothing:
mesn l("Luca the Hunter");
@@ -376,8 +382,7 @@ L_Teach_nothing:
next;
mes "\"You see, I am an adventurer. Everybody has his tricks. But you really should visit someone who is a teacher, not an adventurer, now.\"";
next;
- goto L_Teachmore2;
- */
+ goto L_Teachmore;
OnInit:
.Exp_BRAWLING = 2000;