summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-12-30 10:25:53 -0300
committerJesusaves <cpntb1@ymail.com>2021-12-30 10:25:53 -0300
commit2732854aaf11732545e40144bec36c92ab1ced85 (patch)
treeae739d26a7e2b9b9efd222aa1d5a88c15134ec3d
parente42d77c7a2375b4849f7f81378dbef77c05e4c4c (diff)
downloadserverdata-2732854aaf11732545e40144bec36c92ab1ced85.tar.gz
serverdata-2732854aaf11732545e40144bec36c92ab1ced85.tar.bz2
serverdata-2732854aaf11732545e40144bec36c92ab1ced85.tar.xz
serverdata-2732854aaf11732545e40144bec36c92ab1ced85.zip
Replace HVAN_CAPRICE with TMW2_CAPRICE
-rw-r--r--db/homun_skill_tree.txt2
-rw-r--r--db/re/skill_db.conf55
-rw-r--r--npc/functions/hub.txt9
3 files changed, 65 insertions, 1 deletions
diff --git a/db/homun_skill_tree.txt b/db/homun_skill_tree.txt
index 775fecb5f..38e5dfa6b 100644
--- a/db/homun_skill_tree.txt
+++ b/db/homun_skill_tree.txt
@@ -23,7 +23,7 @@
// 6007 = all rounder
// 6008 = superior
-6001,8013,5,0,0,0,0,0,0,0,0,0,0,0 //HVAN_CAPRICE** - Rand-cast bolts
+6001,8047,5,0,0,0,0,0,0,0,0,0,0,0 //TMW2_CAPRICE** - Rand-cast bolts
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
diff --git a/db/re/skill_db.conf b/db/re/skill_db.conf
index adf98f373..145df61ea 100644
--- a/db/re/skill_db.conf
+++ b/db/re/skill_db.conf
@@ -40543,4 +40543,59 @@ skill_db: (
}
}
},
+{
+ Id: 8047
+ Name: "TMW2_CAPRICE"
+ Description: "Chaos Strikes"
+ MaxLevel: 5
+ Range: 9
+ Hit: "BDT_SKILL"
+ SkillType: {
+ Enemy: true
+ }
+ DamageType: {
+ NoDamage: true
+ }
+ //CoolDown: 2000
+ AttackType: "Magic"
+ NumberOfHits: {
+ Lv1: 1
+ Lv2: 2
+ Lv3: 3
+ Lv4: 4
+ Lv5: 5
+ Lv6: 6
+ Lv7: 7
+ Lv8: 8
+ Lv9: 9
+ Lv10: 10
+ }
+ AfterCastActDelay: {
+ Lv1: 1000
+ Lv2: 1200
+ Lv3: 1400
+ Lv4: 1600
+ Lv5: 1800
+ Lv6: 2000
+ Lv7: 2200
+ Lv8: 2400
+ Lv9: 2600
+ Lv10: 2800
+ }
+ FixedCastTime: -1
+ Requirements: {
+ SPCost: {
+ Lv1: 22
+ Lv2: 24
+ Lv3: 26
+ Lv4: 28
+ Lv5: 30
+ Lv6: 32
+ Lv7: 34
+ Lv8: 36
+ Lv9: 38
+ Lv10: 40
+ }
+ }
+},
)
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index add706461..b9817f18a 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -388,6 +388,15 @@ function script HUB_SkillInvoke {
sc_end SC_BLIND;
sc_start SC_CURSE, rand2(3500, 5000), 1, 10000, SCFLAG_NONE, @skillCaster;
break;
+ case TMW2_CAPRICE:
+ .@gid = @skillCaster; // gethominfo(0);
+ .@ak1 = getunitdata(.@gid, UDT_MATKMIN);
+ .@ak2 = getunitdata(.@gid, UDT_MATKMAX);
+ for (.@i=0; .@i < limit(1, @skillLv, 10); .@i++) {
+ harm(@skillTarget, rand2(.@ak1, .@ak2), HARM_MAGI, any(Ele_Fire, Ele_Water, Ele_Wind, Ele_Earth), .@gid);
+ sleep2(100);
+ }
+ break;
}
return;
}