From 6323594b8afe29130757aed5018bdc157459a51f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 1 Jul 2020 15:50:37 -0300 Subject: Ops! Levels were not working! --- npc/functions/hub.txt | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'npc/functions') diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index eee491aa3..4d90d14ee 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -313,7 +313,7 @@ function script HUB_SkillInvoke { // 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); + areaharm(@skillTarget, 0, Sp*@skillLv, HARM_MISC, Ele_Ghost); Sp=0; GetManaExp(@skillId, 1); break; @@ -367,21 +367,25 @@ function script HUB_SkillInvoke { // XXX: Holy Class // (Single DPS + AOE) case TMW2_NAPALMBEAT: - .@dmg=AdjustSpellpower(40); + .@PW=35+(5*@skillLv); + .@dmg=AdjustSpellpower(.@PW); .@RG=2+(@skillLv/3); harm(@skillTarget, .@dmg/10, HARM_MAGI, Ele_Holy); areaharm(@skillTarget, .@RG, .@dmg, HARM_MAGI, Ele_Holy); GetManaExp(TMW2_HOLYLIGHT, 1); break; case TMW2_HOLYLIGHT: - .@dmg=AdjustSpellpower(150); + .@PW=125+(25*@skillLv); + .@dmg=AdjustSpellpower(.@PW); harm(@skillTarget, .@dmg, HARM_MAGI, Ele_Holy); areaharm(@skillTarget, 1, .@dmg/10, HARM_MAGI, Ele_Holy); GetManaExp(TMW2_HOLYLIGHT, 2); break; case TMW2_JUDGMENT: - .@dmg=AdjustSpellpower(300); - .@dsub=AdjustSpellpower(75); + .@PW=250+(50*@skillLv); + .@SPW=60+(15*@skillLv); + .@dmg=AdjustSpellpower(.@PW); + .@dsub=AdjustSpellpower(.@SPW); .@RG=5+(@skillLv/5); harm(@skillTarget, .@dmg, HARM_MAGI, Ele_Holy); areaharm(@skillTarget, .@RG, .@dsub, HARM_MAGI, Ele_Holy); @@ -391,17 +395,20 @@ function script HUB_SkillInvoke { // XXX: Wind Class // (No effects? TODO?) case TMW2_MAGICSTRIKE: - .@dmg=AdjustSpellpower(150); + .@PW=125+(25*@skillLv); + .@dmg=AdjustSpellpower(.@PW); harm(@skillTarget, .@dmg, HARM_MAGI, Ele_Wind); GetManaExp(TMW2_LIGHTNINGBOLT, 1); break; case TMW2_LIGHTNINGBOLT: - .@dmg=AdjustSpellpower(200); + .@PW=150+(50*@skillLv); + .@dmg=AdjustSpellpower(.@PW); harm(@skillTarget, .@dmg, HARM_MAGI, Ele_Wind); GetManaExp(TMW2_LIGHTNINGBOLT, 2); break; case TMW2_TEMPEST: - .@dmg=AdjustSpellpower(150); + .@PW=125+(25*@skillLv); + .@dmg=AdjustSpellpower(.@PW); .@RG=2+(@skillLv/5); areaharm(@skillTarget, .@RG, .@dmg, HARM_MAGI, Ele_Wind); GetManaExp(TMW2_LIGHTNINGBOLT, 3); -- cgit v1.2.3-70-g09d2