From 54cfaa55163fdd106e8eab9c736887f385019d9a Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 26 Jun 2020 15:02:22 -0300 Subject: [skip ci] Prepare Armageddon and Fireball to maybe cause burning --- npc/functions/hub.txt | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index 61eda0418..66158458f 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -352,7 +352,7 @@ function script HUB_SkillInvoke { // FIXME: Windwalker (1MSP?), Last Standing Man (2 MSP?) - // Ressurection skills (also heals fully) + // XXX: Ressurection skills (also heals fully) // [MAPZONE] Need special care because scripts // [WIP] Maybe a custom recovery and a flag @canRevive ? case TMW2_REVIVE: @@ -366,18 +366,21 @@ function script HUB_SkillInvoke { SK_sanctum(); break; - // XXX: Fire Class (TODO: DMG over time? Eff_Burning?) + // XXX: Fire Class (May burn the targets) case TMW2_FIREARROW: .@PW=140+(10*@skillLv); harm(@skillTarget, AdjustSpellpower(.@PW), HARM_MAGI, Ele_Fire); break; case TMW2_FIREBALL: .@PW=140+(10*@skillLv); + // 22% chance, 2.5s + sc_start SC_BURNING, 2500, 1, 2200, SCFLAG_NONE, @skillTarget; areaharm(@skillTarget, 3, AdjustSpellpower(.@PW), HARM_MAGI, Ele_Fire); break; case TMW2_ARMAGEDDON: .@PW=140+(10*@skillLv); - areasc2(getmap(), @skillTargetX, @skillTargetY, 2, 10000, SC_BLOODING, BL_MOB|BL_PC); + // 18% chance, 3s, 3x3 radius + areasc(3, 3000, SC_BURNING, BL_MOB|BL_PC|BL_HOM|BL_MER, "filter_hostile", @skillTarget, 1800); areaharm(@skillTarget, 8, AdjustSpellpower(.@PW), HARM_MAGI, Ele_Fire); break; @@ -480,7 +483,7 @@ function script HUB_SkillInvoke { // if SC_FREEZE or SC_COLD break; - // Sword skills are a 5-skills combo + // XXX: Sword skills are a 5-skills combo // No cast time, but cooldown present // DEF lowers as cast, damage based on combo. case TMW2_HORIZONTALSLASH: @@ -551,7 +554,7 @@ function script HUB_SkillInvoke { GetManaExp(@skillId, rand2(2,3)); break; - // Brawling Class + // XXX: Brawling Class case TMW2_BRAWLING: // 75x3 = 225 .@PW=70+(5*@skillLv); -- cgit v1.2.3-60-g2f50