From b3885692b9becb3bc43afd5d3f53b6dbcb5c4283 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 1 Mar 2021 16:58:45 -0300 Subject: Replace accurate skill. Move old skill as an extra of strong and boost their ASPD. Skill X can cause up to 50% exp bonus from mobs (boss excl.) --- db/homun_skill_tree.txt | 5 +++-- db/re/homunculus_db.txt | 2 +- db/re/skill_db.conf | 40 ++++++++++++++++++++++++++-------------- npc/functions/hub.txt | 6 +++++- 4 files changed, 35 insertions(+), 18 deletions(-) diff --git a/db/homun_skill_tree.txt b/db/homun_skill_tree.txt index 60fe22627..feb8b3cba 100644 --- a/db/homun_skill_tree.txt +++ b/db/homun_skill_tree.txt @@ -26,11 +26,12 @@ 6001,8044,5,0,0,0,0,0,0,0,0,0,0,0 //TMW2_SKILLH** - Does nothing 6001,8013,5,0,0,0,0,0,0,0,0,0,0,0 //HVAN_CAPRICE** - Rand-cast bolts -6002,8045,9,0,0,0,0,0,0,0,0,0,0,0 //TMW2_HOMUN_HEAL*- healing skill. +6002,8045,9,0,0,0,0,0,0,0,0,0,0,0 //TMW2_HOMUN_HEAL - healing skill. 6003,8002,5,0,0,0,0,0,0,0,0,0,0,0 //HLIF_AVOID***** Raises walk speed 6004,8008,3,0,0,0,0,0,0,0,0,0,0,0 //HAMI_BLOODLUST** - Raise ATK and leech HP +6004,8006,5,0,0,0,0,0,0,0,0,0,0,0 //HAMI_DEFENCE**** - Raises vit for both 6005,8009,5,0,0,0,0,0,0,0,0,0,0,0 //HFLI_MOON** - Like Bash, can also multihit -6006,8006,5,0,0,0,0,0,0,0,0,0,0,0 //HAMI_DEFENCE**** - Raises vit for both +6006,8044,5,0,0,0,0,0,0,0,0,0,0,0 //TMW2_SKILLX - Raises EXP gain from target 6007,8007,5,0,0,0,0,0,0,0,0,0,0,0 //HAMI_SKIN* - Passive, raises HC HP/Regen/DEF 6007,8011,5,0,0,0,0,0,0,0,0,0,0,0 //HFLI_SPEED** - Raise HC Flee/Evasion 6008,8010,5,0,0,0,0,0,0,0,0,0,0,0 //HFLI_FLEET** - Raise HC ATK and ASPD diff --git a/db/re/homunculus_db.txt b/db/re/homunculus_db.txt index 99daa6461..ec1ab7a4c 100644 --- a/db/re/homunculus_db.txt +++ b/db/re/homunculus_db.txt @@ -22,7 +22,7 @@ 6001,6031,Mage,502,300000,0,1,7,0,700,300,45,12,20,15,35,24,14,40,55,7,9,10,20,4,15,5,14,15,25,5,15,5,15,800,2400,220,480,10,30,30,50,20,40,20,40,10,30,10,20 6002,6032,Tanker,502,300000,0,1,7,0,700,350,40,20,15,35,24,14,12,45,60,6,9,10,20,4,15,15,25,5,15,5,15,5,15,800,2400,220,480,10,30,30,50,20,40,20,40,10,30,10,20 6003,6033,Agile,502,300000,0,1,7,0,700,300,40,15,35,24,14,12,20,40,60,6,9,10,20,14,25,5,15,5,15,5,15,5,15,800,2400,220,480,10,30,30,50,20,40,20,40,10,30,10,20 -6004,6034,Strong,502,300000,0,1,7,0,700,320,40,35,24,14,12,20,15,40,60,6,9,20,30,4,15,5,15,5,15,5,15,5,15,800,2400,220,480,10,30,30,50,20,40,20,40,10,30,10,20 +6004,6034,Strong,502,300000,0,1,7,0,620,320,40,35,24,14,12,20,15,40,60,6,9,20,30,4,15,5,15,5,15,5,15,5,15,800,2400,220,480,10,30,30,50,20,40,20,40,10,30,10,20 6005,6035,Lucky,502,300000,0,1,7,0,700,320,40,24,14,12,20,15,35,40,60,6,9,10,20,4,15,5,15,5,15,5,15,15,25,800,2400,220,480,10,30,30,50,20,40,20,40,10,30,10,20 6006,6036,Accurate,502,300000,0,1,7,0,670,320,40,14,12,20,15,35,24,40,60,6,9,10,20,4,15,5,15,5,15,15,25,5,15,800,2400,220,480,10,30,30,50,20,40,20,40,10,30,10,20 6007,6037,All Rounder,502,300000,0,1,7,0,720,300,40,20,20,20,20,20,20,40,60,6,9,15,20,8,15,10,15,10,15,10,15,10,15,800,2400,220,480,10,30,30,50,20,40,20,40,10,30,10,20 diff --git a/db/re/skill_db.conf b/db/re/skill_db.conf index ac87943a6..e6fe32d5f 100644 --- a/db/re/skill_db.conf +++ b/db/re/skill_db.conf @@ -39978,8 +39978,8 @@ skill_db: ( // Additional Homunculus Skills { Id: 8044 - Name: "TMW2_SKILLH" - Description: "Skill H" + Name: "TMW2_SKILLX" + Description: "Skill X" MaxLevel: 5 Range: 9 Hit: "BDT_SKILL" @@ -39987,13 +39987,24 @@ skill_db: ( Enemy: true } AttackType: "Magic" - AfterCastActDelay: 1000 + CoolDown: 2000 FixedCastTime: -1 DamageType: { NoDamage: true } Requirements: { - SPCost: 20 + SPCost: { + Lv1: 6 + Lv2: 7 + Lv3: 8 + Lv4: 9 + Lv5: 10 + Lv6: 20 + Lv7: 20 + Lv8: 20 + Lv9: 20 + Lv10: 20 + } } }, { @@ -40010,19 +40021,20 @@ skill_db: ( DamageType: { NoDamage: true } - AfterCastActDelay: 800 + AfterCastActDelay: 500 + CoolDown: 1000 FixedCastTime: -1 Requirements: { SPCost: { - Lv1: 11 - Lv2: 14 - Lv3: 17 - Lv4: 20 - Lv5: 23 - Lv6: 26 - Lv7: 29 - Lv8: 32 - Lv9: 35 + Lv1: 28 + Lv2: 29 + Lv3: 30 + Lv4: 31 + Lv5: 32 + Lv6: 33 + Lv7: 34 + Lv8: 35 + Lv9: 36 Lv10: 37 } } diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index 3d8ab20fb..a216afdde 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -245,8 +245,12 @@ function script HUB_SkillInvoke { //debugmes "Skill caster %d", @skillCaster; if (@skillCaster != getcharid(3)) { switch (@skillId) { + case TMW2_SKILLX: + sc_start SC_RICHMANKIM, 180000, @skillLv+rand2(9*@skillLv), 10000, SCFLAG_NONE, @skillTarget; + gethexp 1; + break; case TMW2_HOMUN_HEAL: - .@heal=gethominfo(6)*rand2(7, 10); + .@heal=gethominfo(6)*(5+rand2(@skillLv)); heal .@heal, 0; harm(@skillCaster, -.@heal, HARM_MISC); break; -- cgit v1.2.3-70-g09d2