From e0828c93f3e2af6a443df29d978ac7e637efc7ee Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 11 Apr 2021 08:45:15 -0300 Subject: Allow all chars to make parties by default, and remove some older code. --- npc/commands/debug.txt | 12 +++--------- npc/functions/main.txt | 4 ++-- 2 files changed, 5 insertions(+), 11 deletions(-) (limited to 'npc') diff --git a/npc/commands/debug.txt b/npc/commands/debug.txt index f14d1363..6aa0510d 100644 --- a/npc/commands/debug.txt +++ b/npc/commands/debug.txt @@ -53,9 +53,7 @@ L_ResetStatusPoints: goto L_Begin; L_BasicSkills: - skill SKILL_EMOTE, 6, 0; - //addtoskill SKILL_TRADE, 0; - //addtoskill SKILL_PARTY, 0; + adddefaultskills(); goto L_Begin; L_FocusSkills: @@ -572,9 +570,7 @@ L_ResetMagicSkills: goto L_MagicSkills; L_AddAll: - addtoskill SKILL_EMOTE, 1; - addtoskill SKILL_TRADE, 1; - addtoskill SKILL_PARTY, 2; + adddefaultskills(); addtoskill SKILL_POOL, 1; addtoskill SKILL_MALLARDS_EYE, 9; addtoskill SKILL_BRAWLING, 9; @@ -602,9 +598,7 @@ L_ResetAll: cleararray @skilllist_name$[0], "", 8; cleararray @skilllist_id[0], 0, 8; cleararray @skilllist_count[0], 0, 8; - addtoskill SKILL_EMOTE, 0; - addtoskill SKILL_TRADE, 0; - addtoskill SKILL_PARTY, 0; + //adddefaultskills(); addtoskill SKILL_POOL, 0; addtoskill SKILL_MALLARDS_EYE, 0; addtoskill SKILL_BRAWLING, 0; diff --git a/npc/functions/main.txt b/npc/functions/main.txt index 18441094..58d1bff0 100644 --- a/npc/functions/main.txt +++ b/npc/functions/main.txt @@ -81,8 +81,8 @@ function script col { } function script adddefaultskills { - if (getskilllv(NV_BASIC) < 6) { - skill NV_BASIC, 6, 0; + if (getskilllv(NV_BASIC) < 7) { + skill NV_BASIC, 7, 0; } if (getskilllv(TMW2_FAKESKILL) < 1) { skill TMW2_FAKESKILL, 1, 0; -- cgit v1.2.3-60-g2f50