From 72699baa837cf83248ecb6c4b0b9c6dc900b3d66 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 27 May 2019 15:33:12 -0300 Subject: Item Options - WIP --- db/constants.conf | 21 +++++++++++++++++++++ db/item_options.conf | 28 ++++++++++++++-------------- db/re/skill_db.conf | 12 ++++++++++++ 3 files changed, 47 insertions(+), 14 deletions(-) (limited to 'db') diff --git a/db/constants.conf b/db/constants.conf index 4ce2bea22..8ff1f1b67 100644 --- a/db/constants.conf +++ b/db/constants.conf @@ -4359,6 +4359,27 @@ constants_db: { ASK_NO: 2 ASK_EXIT: 255 + comment__: "craft skill groups IDs" + // Base tier + CRGROUP_BASE: 1 + // First tier + CRGROUP_ATK: 2 + CRGROUP_DEF: 4 + CRGROUP_ACC: 8 + CRGROUP_EVD: 16 + // Second tier + CRGROUP_REGEN: 32 + CRGROUP_SPEED: 64 + CRGROUP_DOUBLE: 128 + CRGROUP_MAXPC: 256 + // Third tier + CRGROUP_SCRESIST: 512 + CRGROUP_SCINFLICT: 1024 + CRGROUP_MANAUSE: 2048 + CRGROUP_BOSSDEF: 4096 + // Final tier + CRGROUP_EXPUP: 8192 + comment__: "Emotes" // TMW2 Emotes E_DISGUST: 1 diff --git a/db/item_options.conf b/db/item_options.conf index ab5a59f65..ca734d5c4 100644 --- a/db/item_options.conf +++ b/db/item_options.conf @@ -966,12 +966,12 @@ item_options_db: ( { Id: 173 Name: "HP_DRAIN" - Script: <" bonus(bHPDrainValue, (getequippedoptioninfo(IT_OPT_VALUE)); "> + Script: <" bonus(bHPDrainValue, getequippedoptioninfo(IT_OPT_VALUE)); "> }, { Id: 174 Name: "SP_DRAIN" - Script: <" bonus(bSPDrainValue, (getequippedoptioninfo(IT_OPT_VALUE)); "> + Script: <" bonus(bSPDrainValue, getequippedoptioninfo(IT_OPT_VALUE)); "> }, { Id: 175 @@ -1038,62 +1038,62 @@ item_options_db: ( { Id: 187 Name: "IOPT_SPLASHDAMAGE" - Script: <" bonus(bSplashRange, (getequippedoptioninfo(IT_OPT_VALUE)); "> + Script: <" bonus(bSplashRange, getequippedoptioninfo(IT_OPT_VALUE)); "> }, { Id: 188 Name: "IOPT_WALKSPEED" - Script: <" bonus(bSpeedAddRate, (getequippedoptioninfo(IT_OPT_VALUE)); "> + Script: <" bonus(bSpeedAddRate, getequippedoptioninfo(IT_OPT_VALUE)); "> }, { Id: 189 Name: "IOPT_EXPGAIN" - Script: <" bonus2(bExpAddRace, RC_All, (getequippedoptioninfo(IT_OPT_VALUE)); "> + Script: <" bonus2(bExpAddRace, RC_All, getequippedoptioninfo(IT_OPT_VALUE)); "> }, { Id: 190 Name: "IOPT_DOUBLEATTACK" - Script: <" bonus(bDoubleAddRate, (getequippedoptioninfo(IT_OPT_VALUE)); "> + Script: <" bonus(bDoubleAddRate, getequippedoptioninfo(IT_OPT_VALUE)); "> }, { Id: 191 Name: "IOPT_SCRESIST_POISON" - Script: <" bonus2(bResEff,Eff_Poison,(getequippedoptioninfo(IT_OPT_VALUE)); "> + Script: <" bonus2(bResEff,Eff_Poison, getequippedoptioninfo(IT_OPT_VALUE)); "> }, { Id: 192 Name: "IOPT_SCRESIST_SILENCE" - Script: <" bonus2(bResEff,Eff_Silence,(getequippedoptioninfo(IT_OPT_VALUE)); "> + Script: <" bonus2(bResEff,Eff_Silence, getequippedoptioninfo(IT_OPT_VALUE)); "> }, { Id: 193 Name: "IOPT_SCRESIST_CURSE" - Script: <" bonus2(bResEff,Eff_Curse,(getequippedoptioninfo(IT_OPT_VALUE)); "> + Script: <" bonus2(bResEff,Eff_Curse, getequippedoptioninfo(IT_OPT_VALUE)); "> }, { Id: 194 Name: "IOPT_SCRESIST_BLIND" - Script: <" bonus2(bResEff,Eff_Blind,(getequippedoptioninfo(IT_OPT_VALUE)); "> + Script: <" bonus2(bResEff,Eff_Blind, getequippedoptioninfo(IT_OPT_VALUE)); "> }, { Id: 195 Name: "IOPT_SCPROVOKE_POISON" - Script: <" bonus2(bAddEff,Eff_Poison,(getequippedoptioninfo(IT_OPT_VALUE)); "> + Script: <" bonus2(bAddEff,Eff_Poison, getequippedoptioninfo(IT_OPT_VALUE)); "> }, { Id: 196 Name: "IOPT_SCPROVOKE_SILENCE" - Script: <" bonus2(bAddEff,Eff_Silence,(getequippedoptioninfo(IT_OPT_VALUE)); "> + Script: <" bonus2(bAddEff,Eff_Silence, getequippedoptioninfo(IT_OPT_VALUE)); "> }, { Id: 197 Name: "IOPT_SCPROVOKE_CURSE" - Script: <" bonus2(bAddEff,Eff_Curse,(getequippedoptioninfo(IT_OPT_VALUE)); "> + Script: <" bonus2(bAddEff,Eff_Curse, getequippedoptioninfo(IT_OPT_VALUE)); "> }, { Id: 198 Name: "IOPT_SCPROVOKE_BLIND" - Script: <" bonus2(bAddEff,Eff_Blind,(getequippedoptioninfo(IT_OPT_VALUE)); "> + Script: <" bonus2(bAddEff,Eff_Blind, getequippedoptioninfo(IT_OPT_VALUE)); "> } diff --git a/db/re/skill_db.conf b/db/re/skill_db.conf index 554f6bd73..1d94fc3af 100644 --- a/db/re/skill_db.conf +++ b/db/re/skill_db.conf @@ -38544,6 +38544,18 @@ skill_db: ( Self: true } }, +{ + Id: 20033 + Name: "TMW2_CRAFT" + Description: "Crafting" + MaxLevel: 10 + SkillType: { + Self: true + } + SkillInfo: { + Quest: true + } +}, // More skills: 20036~20042 { Id: 20036 -- cgit v1.2.3-70-g09d2