From 8713b66253e45cd13c86f23103176ec9a7ebf107 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 17 Jun 2020 02:26:55 -0300 Subject: [skip ci] sketch notes --- npc/functions/hub.txt | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) (limited to 'npc') 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 -- cgit v1.2.3-70-g09d2