diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-04-11 08:45:15 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-04-11 08:45:15 -0300 |
commit | e0828c93f3e2af6a443df29d978ac7e637efc7ee (patch) | |
tree | 4ba54768293462d5ff1c61f7d591ca1406112c73 /npc | |
parent | 0b6a0827df949032bd573106987160389c068efe (diff) | |
download | serverdata-e0828c93f3e2af6a443df29d978ac7e637efc7ee.tar.gz serverdata-e0828c93f3e2af6a443df29d978ac7e637efc7ee.tar.bz2 serverdata-e0828c93f3e2af6a443df29d978ac7e637efc7ee.tar.xz serverdata-e0828c93f3e2af6a443df29d978ac7e637efc7ee.zip |
Allow all chars to make parties by default, and remove some older code.
Diffstat (limited to 'npc')
-rw-r--r-- | npc/commands/debug.txt | 12 | ||||
-rw-r--r-- | npc/functions/main.txt | 4 |
2 files changed, 5 insertions, 11 deletions
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; |