summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-06-17 02:26:55 -0300
committerJesusaves <cpntb1@ymail.com>2020-06-17 02:26:55 -0300
commit8713b66253e45cd13c86f23103176ec9a7ebf107 (patch)
tree998e8ea261e3d33fa2c9ffeb21225dd940b41401 /npc/functions
parentd4164015cfd2ed367aac33b8653215eb61a2a938 (diff)
downloadserverdata-8713b66253e45cd13c86f23103176ec9a7ebf107.tar.gz
serverdata-8713b66253e45cd13c86f23103176ec9a7ebf107.tar.bz2
serverdata-8713b66253e45cd13c86f23103176ec9a7ebf107.tar.xz
serverdata-8713b66253e45cd13c86f23103176ec9a7ebf107.zip
[skip ci] sketch notes
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/hub.txt67
1 files changed, 67 insertions, 0 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index 4e7424e8d..6b3e3fe66 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -305,6 +305,73 @@ function script HUB_SkillInvoke {
harm(@skillTarget, .@dmg, HARM_MAGI, Ele_Holy);
break;
/*
+ // Support magic
+ // TODO: Debuffs
+ // TODO: Buffs
+ case TMW2_FIRSTAID:
+ // First aid only works on you, so
+ heal AdjustSpellpower(100), 0;
+ break;
+ case TMW2_HEALING:
+ harm(@skillTarget, -AdjustSpellpower(150), HARM_MISC);
+ break;
+ case TMW2_MAGNUSHEAL:
+ // TODO: Area healing
+ harm(@skillTarget, -AdjustSpellpower(220), HARM_MISC);
+ break;
+
+ // Provoke: builtin, Mass Provoke: See above
+ // Mana Wisdom: Passive, Accumulate Power: builtin
+ // FIXME: Windwalker, Last Standing Man
+
+ // Destructive Magic
+ case TMW2_FIREARROW:
+ harm(@skillTarget, AdjustSpellpower(150), HARM_MAGI, Ele_Fire);
+ break;
+ case TMW2_FIREBALL:
+ // TODO: areaharm()
+ harm(@skillTarget, AdjustSpellpower(150), HARM_MAGI, Ele_Fire);
+ break;
+ case TMW2_ARMAGEDDON:
+ // TODO: areaharm()
+ areasc2(getmap(), @skillTargetX, @skillTargetY, 2, 10000, SC_BLOODING, BL_MOB|BL_PC);
+ harm(@skillTarget, AdjustSpellpower(150), HARM_MAGI, Ele_Fire);
+ break;
+
+ case TMW2_FROSTDIVER:
+ // 8% chance, 10s
+ sc_start SC_FREEZE, 10000, 1, 800, flag?, @skillTarget;
+ harm(@skillTarget, AdjustSpellpower(90), HARM_MAGI, Ele_Water);
+ break;
+ case TMW2_FROSTNOVA:
+ // TODO: All this in area
+ // 8% chance, 10s
+ sc_start SC_FREEZE, 10000, 1, 800, flag?, @skillTarget;
+ harm(@skillTarget, AdjustSpellpower(90), HARM_MAGI, Ele_Water);
+ break;
+ // FIXME SK_Nilfheim
+
+ case TMW2_MAGICSTRIKE:
+ case TMW2_LIGHTNINGBOLT:
+ case TMW2_TEMPEST:
+ break;
+
+ case TMW2_NAPALMBEAT:
+ case TMW2_HOLYLIGHT:
+ case TMW2_JUDGEMENT:
+ break;
+
+ case TMW2_METEORSTRIKE:
+ case TMW2_METEORSHOWER:
+ case TMW2_GAIABREAK: // Defensive spell + single target earth DPS
+ break;
+
+ // Firewalk: Handled externally
+
+ // Physical Class - mostly builtin
+ // TODO: Archery effect-absorb skill
+ // TODO: Something powerful for swords?
+
// Brawling Class
case TMW2_BRAWLING:
// 75x3 = 225