summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-06-25 06:05:39 -0300
committerJesusaves <cpntb1@ymail.com>2020-06-25 06:05:39 -0300
commit168601c7727279e7d29540aae09e71875998afdd (patch)
tree6e351e765a09b31538cd82a307b8ebd412587ce7
parent004fc50b9c492577502929ad7315d0d3fc9aa0b9 (diff)
downloadserverdata-168601c7727279e7d29540aae09e71875998afdd.tar.gz
serverdata-168601c7727279e7d29540aae09e71875998afdd.tar.bz2
serverdata-168601c7727279e7d29540aae09e71875998afdd.tar.xz
serverdata-168601c7727279e7d29540aae09e71875998afdd.zip
Declare TMW2_MANABOMB
-rw-r--r--db/re/skill_db.conf42
-rw-r--r--db/re/skill_tree.conf1
-rw-r--r--npc/functions/hub.txt18
3 files changed, 51 insertions, 10 deletions
diff --git a/db/re/skill_db.conf b/db/re/skill_db.conf
index 3b79dd987..e48af9a0b 100644
--- a/db/re/skill_db.conf
+++ b/db/re/skill_db.conf
@@ -38762,7 +38762,47 @@ skill_db: (
FixedCastTime: 500
AfterCastActDelay: 100
},
-// 20021 end of Evol Reserved Space
+{
+ Id: 20021
+ Name: "TMW2_MANABOMB"
+ Description: "Mana Bomb"
+ MaxLevel: 10
+ SkillType: {
+ Enemy: true
+ }
+ /*
+ CoolDown: {
+ Lv1: 5000
+ Lv2: 4500
+ Lv3: 4000
+ Lv4: 3500
+ Lv5: 3000
+ Lv6: 2500
+ Lv7: 2000
+ Lv8: 1500
+ Lv9: 1000
+ Lv10: 500
+ }
+ */
+ CastTime: 300
+ FixedCastTime: 300
+ AfterCastActDelay: 100
+ Requirements: {
+ SPCost: {
+ Lv1: 1
+ Lv2: 2
+ Lv3: 3
+ Lv4: 4
+ Lv5: 5
+ Lv6: 6
+ Lv7: 7
+ Lv8: 8
+ Lv9: 9
+ Lv10: 10
+ }
+ }
+},
+// End of Evol Reserved Space
{
Id: 20022
Name: "TMW2_MPREGEN"
diff --git a/db/re/skill_tree.conf b/db/re/skill_tree.conf
index 021ef8bf2..f35ca74b2 100644
--- a/db/re/skill_tree.conf
+++ b/db/re/skill_tree.conf
@@ -76,6 +76,7 @@ Human: {
MC_OVERCHARGE: 0
///////////////// Magic v3 (Custom)
+ TMW2_MANABOMB: 0
TMW2_JUDGMENT: 0
TMW2_NILFHEIM: 0
EVOL_AREA_PROVOKE: 0
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index 4f510bc28..8b778254a 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -306,6 +306,15 @@ function script HUB_SkillInvoke {
break;
////////////////////////////////
// Magic v3
+ // The basic offensive skill from Trickmaster
+ case TMW2_MANABOMB:
+ // This skill takes 100% mana for a 1:1 ratio damage
+ // And is a trick. Each level improves ratio in 1
+ // Has no cooldown, so it is powerful with pots
+ // And is a good starter offensive skill
+ areaharm(@skillTarget, 0, Sp*@skillLv, HARM_MAGI, Ele_Ghost);
+ Sp=0;
+ break;
case TMW2_NILFHEIM:
// Nilfheim cast on self?
.@PW=80+(10*@skillLv);
@@ -319,15 +328,6 @@ function script HUB_SkillInvoke {
areasc2(getmap(), @skillTargetX, @skillTargetY, 2, 10000, SC_BLOODING, BL_MOB|BL_PC);
break;
/*
- // The basic offensive skill from Trickmaster
- case TMW2_MANABOMB:
- // This skill takes 100% mana for a 1:1 ratio damage
- // And is a trick. Each level improves ratio in 1
- // Has no cooldown, so it is powerful with pots
- // And is a good starter offensive skill
- areaharm(@skillTarget, 0, Sp*@skillLv, HARM_MAGI, Ele_Ghost);
- Sp=0;
- break;
// TODO: Ultimate Skills (T5/0)