From b58af0a364191204dbc1d62f863fe89d1af526b8 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 27 Mar 2018 22:16:35 -0300 Subject: Basic class system, it can be shown with @setskill --- db/re/skill_db.conf | 8 ++++---- npc/003-0-1/colin.txt | 2 +- npc/003-0-1/luca.txt | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/db/re/skill_db.conf b/db/re/skill_db.conf index 3a36ab782..1f75172d7 100644 --- a/db/re/skill_db.conf +++ b/db/re/skill_db.conf @@ -38297,18 +38297,18 @@ skill_db: ( Id: 20010 Name: "MAGIC_WARRIOR" Description: "Magic Warrior" - MaxLevel: 1 + MaxLevel: 5 SkillType: { - Self: true + Passive: true } }, { Id: 20011 Name: "WIZARD_MAGE" Description: "Wizard Mage" - MaxLevel: 1 + MaxLevel: 5 SkillType: { - Self: true + Passive: true } }, ) diff --git a/npc/003-0-1/colin.txt b/npc/003-0-1/colin.txt index 7862e38a9..439188ad5 100644 --- a/npc/003-0-1/colin.txt +++ b/npc/003-0-1/colin.txt @@ -11,7 +11,7 @@ mesn; mesq l("I am the Wizard Mages master."); if (!MAGIC_LVL) goto L_NoMagic; - if (getskilllv("Magic Warrior")) close; + if (getskilllv(MAGIC_WARRIOR)) close; close; L_NoMagic: diff --git a/npc/003-0-1/luca.txt b/npc/003-0-1/luca.txt index ce33c9f3a..a9c07f678 100644 --- a/npc/003-0-1/luca.txt +++ b/npc/003-0-1/luca.txt @@ -11,7 +11,7 @@ mesn; mesq l("I am the Magic Warriors master."); if (!MAGIC_LVL) goto L_NoMagic; - if (getskilllv("Wizard Mage")) close; + if (getskilllv(WIZARD_MAGE)) close; if (getskilllv(SM_BASH) >= 1) mesq l("Are you using my skill?"); if (getskilllv(SM_BASH) >= 1) close; -- cgit v1.2.3-60-g2f50