summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-06-25 05:55:37 -0300
committerJesusaves <cpntb1@ymail.com>2020-06-25 05:55:37 -0300
commit004fc50b9c492577502929ad7315d0d3fc9aa0b9 (patch)
tree94950746eada5b4d68a4eb40df90a093a82ca3de /npc
parentd442515df33a23a57007d090f111bcc4c49bf9e8 (diff)
downloadserverdata-004fc50b9c492577502929ad7315d0d3fc9aa0b9.tar.gz
serverdata-004fc50b9c492577502929ad7315d0d3fc9aa0b9.tar.bz2
serverdata-004fc50b9c492577502929ad7315d0d3fc9aa0b9.tar.xz
serverdata-004fc50b9c492577502929ad7315d0d3fc9aa0b9.zip
Outline most of specified skills
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/hub.txt35
1 files changed, 31 insertions, 4 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index 332e887e3..4f510bc28 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -319,8 +319,8 @@ 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:
- // TODO: areaharm(1x1 or same square?)
// 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
@@ -334,6 +334,8 @@ function script HUB_SkillInvoke {
// Support magic
// TODO: Debuffs
// TODO: Buffs
+
+ // XXX: Healing Class
case TMW2_FIRSTAID:
.@PW=90+(10*@skillLv);
// First aid only works on you, so
@@ -355,7 +357,7 @@ function script HUB_SkillInvoke {
// FIXME: Windwalker (deprecate?), Last Standing Man (2 MSP?)
// TODO: Ressurection skill
- // Destructive Magic
+ // XXX: Fire Class (TODO: DMG over time?)
case TMW2_FIREARROW:
.@PW=140+(10*@skillLv);
harm(@skillTarget, AdjustSpellpower(.@PW), HARM_MAGI, Ele_Fire);
@@ -370,6 +372,7 @@ function script HUB_SkillInvoke {
areaharm(@skillTarget, 8, AdjustSpellpower(.@PW), HARM_MAGI, Ele_Fire);
break;
+ // XXX: Ice Class (May freeze the targets)
case TMW2_FROSTDIVER:
.@PW=80+(10*@skillLv);
// 22% chance, 2.5s
@@ -386,18 +389,30 @@ function script HUB_SkillInvoke {
// Already Implemented, Needs Cooldown/etc
break;
+ // XXX: Wind Class (No effects? TODO?)
case TMW2_MAGICSTRIKE:
+ .@dmg=AdjustSpellpower(150);
+ harm(@skillTarget, .@dmg, HARM_MAGI, Ele_Wind);
+ break;
case TMW2_LIGHTNINGBOLT:
+ .@dmg=AdjustSpellpower(200);
+ harm(@skillTarget, .@dmg, HARM_MAGI, Ele_Wind);
+ break;
case TMW2_TEMPEST:
+ .@dmg=AdjustSpellpower(150);
+ areaharm(@skillTarget, 3, .@dmg, HARM_MAGI, Ele_Wind);
break;
+ // XXX: Holy Class (Single DPS + AOE)
case TMW2_NAPALMBEAT:
.@dmg=AdjustSpellpower(40);
- areaharm(@skillTarget, 5, .@dmg, HARM_MAGI, Ele_Holy);
+ harm(@skillTarget, .@dmg/10, HARM_MAGI, Ele_Holy);
+ areaharm(@skillTarget, 3, .@dmg, HARM_MAGI, Ele_Holy);
break;
case TMW2_HOLYLIGHT:
.@dmg=AdjustSpellpower(150);
harm(@skillTarget, .@dmg, HARM_MAGI, Ele_Holy);
+ areaharm(@skillTarget, 1, .@dmg/10, HARM_MAGI, Ele_Holy);
break;
case TMW2_JUDGEMENT:
.@dmg=AdjustSpellpower(300);
@@ -406,9 +421,21 @@ function script HUB_SkillInvoke {
areaharm(@skillTarget, 5, .@dsub, HARM_MAGI, Ele_Holy);
break;
+ // XXX: Earth Class (DEF effects)
case TMW2_METEORSTRIKE:
+ .@dmg=AdjustSpellpower(150);
+ harm(@skillTarget, .@dmg, HARM_MAGI, Ele_Earth);
+ break;
case TMW2_METEORSHOWER:
- case TMW2_GAIABREAK: // Defensive spell + single target earth DPS
+ .@dmg=AdjustSpellpower(150);
+ areaharm(@skillTarget, 3, .@dmg, HARM_MAGI, Ele_Wind);
+ break;
+ case TMW2_GAIABREAK:
+ // TODO: DEF UP+
+ .@dmg=AdjustSpellpower(200);
+ .@dsub=AdjustSpellpower(120);
+ harm(@skillTarget, .@dmg, HARM_MAGI, Ele_Holy);
+ areaharm(@skillTarget, 5, .@dsub, HARM_MAGI, Ele_Holy);
break;
// Firewalk: Handled externally