diff options
-rw-r--r-- | db/re/skill_db.conf | 4 | ||||
-rw-r--r-- | db/re/skill_tree.conf | 32 | ||||
-rw-r--r-- | npc/functions/clientversion.txt | 9 | ||||
-rw-r--r-- | npc/functions/main.txt | 6 |
4 files changed, 32 insertions, 19 deletions
diff --git a/db/re/skill_db.conf b/db/re/skill_db.conf index b31a2a975..4f93bee6a 100644 --- a/db/re/skill_db.conf +++ b/db/re/skill_db.conf @@ -38424,7 +38424,7 @@ skill_db: ( { Id: 20031 Name: "TMW2_FAKESKILL" - Description: "Fake Skil" + Description: "Fake Skill Resync" MaxLevel: 1 SkillType: { Self: true @@ -38433,7 +38433,7 @@ skill_db: ( { Id: 20032 Name: "TMW2_FAKESKILL2" - Description: "Fake Skil 2" + Description: "Fake Skill Lang" MaxLevel: 1 SkillType: { Self: true diff --git a/db/re/skill_tree.conf b/db/re/skill_tree.conf index 612e3aff1..9256ce9d3 100644 --- a/db/re/skill_tree.conf +++ b/db/re/skill_tree.conf @@ -1,12 +1,12 @@ //==================================================== -//= _ _ _ -//= | | | | | | -//= | |_| | ___ _ __ ___ _ _| | ___ ___ -//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| -//= | | | | __/ | | (__| |_| | | __/\__ \ -//= \_| |_/\___|_| \___|\__,_|_|\___||___/ -//= -//= http://herc.ws/board/ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//= +//= http://herc.ws/board/ //================= More Information ================= // http://herc.ws/board/topic/1188-skill-tree-db-redesign/ //================ Structure Example ================= @@ -27,18 +27,20 @@ Job_Name: { // Job names as in src/map/pc.c (they are hardcoded at the moment so Human: { skills: { - // Basic + // Basic NV_BASIC: 0 + TMW2_FAKESKILL: 0 + TMW2_FAKESKILL2: 0 WE_MALE: 0 WE_FEMALE: 0 SN_SHARPSHOOTING: 0 - // Magical + // Magical AL_HEAL: 3 SM_PROVOKE: 5 EVOL_MASS_PROVOKE: 10 - // Mana Skills + // Mana Skills TMW2_ZARKOR: 3 TMW2_PARUM: 0 TMW2_KALMURK: 4 @@ -47,18 +49,18 @@ Human: { ALL_INCCARRY: 0 ///////////////// Main class - // Magic Warrior + // Magic Warrior MAGIC_WARRIOR: 0 NV_TRICKDEAD: 0 SM_BASH: 0 - // Wizard Mage + // Wizard Mage WIZARD_MAGE: 0 MG_FIREBALL: 0 AL_DP: 10 ///////////////// Subclass - // Paladin + // Paladin CR_TRUST: 0 AL_ANGELUS: 0 PR_REDEMPTIO: 0 @@ -110,7 +112,7 @@ Human: { PR_ASPERSIO: 0 TF_DETOXIFY: 0 - // Unused + // Unused RG_GRAFFITI: 0 RG_CLEANER: 0 SC_INVISIBILITY: 0 diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index 2821ad836..ab12d8e6b 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -16,7 +16,7 @@ function script checkclientversion { // Update handler (use `date +%s` for this) // Current UPDATE value: Qui Jun 7 08:10:55 -03 2018 if (Lang > 5 && UPDATE < 1528369855) { - UPDATE=gettimetick(2); + UPDATE=1528369855; Lang=0; mesn "Jesus Saves"; mesc l("Oh, noes! Due lack of translators, some languages were removed from this project."); @@ -52,9 +52,14 @@ function script checkclientversion { next; } if (is_admin() && UPDATE < 1528369855) { - UPDATE=gettimetick(2); // Perhaps we should use above number, and leave all UPDATE fields here? + UPDATE=1528369855; dispbottom l("Client Version: @@", ClientVersion); // This is to debug UPDATE system. } + if (is_admin() && UPDATE < 1531786864) { + UPDATE=1531786864; + skill TMW2_FAKESKILL, 1, 0; + skill TMW2_FAKESKILL2, 1, 0; + } if (ClientVersion >= 24) return; diff --git a/npc/functions/main.txt b/npc/functions/main.txt index 365943742..cf882f3a0 100644 --- a/npc/functions/main.txt +++ b/npc/functions/main.txt @@ -72,6 +72,12 @@ function script adddefaultskills { if (getskilllv(NV_BASIC) < 6) { skill NV_BASIC, 6, 0; } + if (getskilllv(TMW2_FAKESKILL) < 1) { + skill TMW2_FAKESKILL, 1, 0; + } + if (getskilllv(TMW2_FAKESKILL2) < 1) { + skill TMW2_FAKESKILL2, 1, 0; + } return; } |