From 6af80edeb71f64a25d872558b2f94c9dc82b8485 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 28 May 2021 15:04:19 -0300 Subject: Readd brawling. Close #2 --- npc/002-1/luca.txt | 15 ++++++++++----- 1 file 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; -- cgit v1.2.3-60-g2f50