summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-12-30 10:52:53 -0300
committerJesusaves <cpntb1@ymail.com>2021-12-30 10:52:53 -0300
commit19908928495fbdaf8b8d6284af3177f2680f6712 (patch)
treeecbc263d68cf88709442e9ebae35d1a0ae6dc069
parentb48dafd919238f524c570507961f67d1f44aec7f (diff)
downloadserverdata-19908928495fbdaf8b8d6284af3177f2680f6712.tar.gz
serverdata-19908928495fbdaf8b8d6284af3177f2680f6712.tar.bz2
serverdata-19908928495fbdaf8b8d6284af3177f2680f6712.tar.xz
serverdata-19908928495fbdaf8b8d6284af3177f2680f6712.zip
Replace HAMI_DEFENSE with TMW2_HDEFENSE
-rw-r--r--db/homun_skill_tree.txt2
-rw-r--r--db/re/skill_db.conf28
-rw-r--r--npc/functions/hub.txt6
3 files changed, 35 insertions, 1 deletions
diff --git a/db/homun_skill_tree.txt b/db/homun_skill_tree.txt
index ca1bc3056..db6fb849b 100644
--- a/db/homun_skill_tree.txt
+++ b/db/homun_skill_tree.txt
@@ -27,7 +27,7 @@
6002,8045,9,0,0,0,0,0,0,0,0,0,0,0 //TMW2_HOMUN_HEAL - healing skill.
6003,8048,5,0,0,0,0,0,0,0,0,0,0,0 //TMW2_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
+6004,8049,5,0,0,0,0,0,0,0,0,0,0,0 //TMW2_HDEFENCE**** - 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
6005,8046,5,0,0,0,0,0,0,0,0,0,0,0 //TMW2_LITTLE_WONDERS - Dispel some ailments
6006,8044,5,0,0,0,0,0,0,0,0,0,0,0 //TMW2_SKILLX - Raises EXP gain from target
diff --git a/db/re/skill_db.conf b/db/re/skill_db.conf
index 7b717b317..8d55c8305 100644
--- a/db/re/skill_db.conf
+++ b/db/re/skill_db.conf
@@ -40653,4 +40653,32 @@ skill_db: (
}
}
},
+{
+ Id: 8049
+ Name: "TMW2_HDEFENCE"
+ Description: "Survival Order"
+ MaxLevel: 5
+ Hit: "BDT_SKILL"
+ SkillType: {
+ Self: true
+ }
+ DamageType: {
+ NoDamage: true
+ }
+ FixedCastTime: -1
+ Requirements: {
+ SPCost: {
+ Lv1: 15
+ Lv2: 20
+ Lv3: 25
+ Lv4: 30
+ Lv5: 35
+ Lv6: 40
+ Lv7: 45
+ Lv8: 50
+ Lv9: 55
+ Lv10: 60
+ }
+ }
+},
)
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index f5e1b205e..d63d4247b 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -403,6 +403,12 @@ function script HUB_SkillInvoke {
SC_Bonus(.@t, SC_WALKSPEED, .@p);
sc_start SC_WALKSPEED, .@t * 1000, .@p, 10000, SCFLAG_NOAVOID, @skillCaster;
break;
+ case TMW2_HDEFENCE:
+ .@t = 43 - (@skillLv * 3);
+ .@p = 4+(@skillLv * 6);
+ SC_Bonus(.@t, SC_INCVIT, .@p);
+ sc_start SC_INCVIT, .@t * 1000, .@p, 10000, SCFLAG_NOAVOID, @skillCaster;
+ break;
}
return;
}