summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-06-17 05:42:40 -0300
committerJesusaves <cpntb1@ymail.com>2020-06-17 05:42:40 -0300
commit619f0a5002ff7de36b515b656116b03c249f775b (patch)
treeeaa0357af44dac9afdc75ad77c65593ecf23e9d6 /npc/functions
parent23ac1c5418ceadaabee505d88a3f243c8e1e5305 (diff)
downloadserverdata-619f0a5002ff7de36b515b656116b03c249f775b.tar.gz
serverdata-619f0a5002ff7de36b515b656116b03c249f775b.tar.bz2
serverdata-619f0a5002ff7de36b515b656116b03c249f775b.tar.xz
serverdata-619f0a5002ff7de36b515b656116b03c249f775b.zip
[skip ci] Prepare the new unreleased skills to have their strength to vary
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/hub.txt59
1 files changed, 35 insertions, 24 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index e58e9f058..1769a1c4b 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -309,16 +309,19 @@ function script HUB_SkillInvoke {
// TODO: Debuffs
// TODO: Buffs
case TMW2_FIRSTAID:
+ .@PW=90+(10*@skillLv);
// First aid only works on you, so
- .@heal=max(AdjustSpellpower(100), AdjustAttackpower(100));
+ .@heal=max(AdjustSpellpower(.@PW), AdjustAttackpower(.@PW));
heal .@heal, 0;
break;
case TMW2_HEALING:
- harm(@skillTarget, -AdjustSpellpower(150), HARM_MISC);
+ .@PW=130+(20*@skillLv);
+ harm(@skillTarget, -AdjustSpellpower(.@PW), HARM_MISC);
break;
case TMW2_MAGNUSHEAL:
// TODO: Area healing
- harm(@skillTarget, -AdjustSpellpower(220), HARM_MISC);
+ .@PW=200+(20*@skillLv);
+ harm(@skillTarget, -AdjustSpellpower(.@PW), HARM_MISC);
break;
// Provoke: builtin, Mass Provoke: See above
@@ -327,28 +330,33 @@ function script HUB_SkillInvoke {
// Destructive Magic
case TMW2_FIREARROW:
- harm(@skillTarget, AdjustSpellpower(150), HARM_MAGI, Ele_Fire);
+ .@PW=140+(10*@skillLv);
+ harm(@skillTarget, AdjustSpellpower(.@PW), HARM_MAGI, Ele_Fire);
break;
case TMW2_FIREBALL:
+ .@PW=140+(10*@skillLv);
// TODO: areaharm()
- harm(@skillTarget, AdjustSpellpower(150), HARM_MAGI, Ele_Fire);
+ harm(@skillTarget, AdjustSpellpower(.@PW), HARM_MAGI, Ele_Fire);
break;
case TMW2_ARMAGEDDON:
+ .@PW=140+(10*@skillLv);
// TODO: areaharm()
areasc2(getmap(), @skillTargetX, @skillTargetY, 2, 10000, SC_BLOODING, BL_MOB|BL_PC);
- harm(@skillTarget, AdjustSpellpower(150), HARM_MAGI, Ele_Fire);
+ harm(@skillTarget, AdjustSpellpower(.@PW), HARM_MAGI, Ele_Fire);
break;
case TMW2_FROSTDIVER:
+ .@PW=80+(10*@skillLv);
// 8% chance, 10s
sc_start SC_FREEZE, 10000, 1, 800, flag?, @skillTarget;
- harm(@skillTarget, AdjustSpellpower(90), HARM_MAGI, Ele_Water);
+ harm(@skillTarget, AdjustSpellpower(.@PW), HARM_MAGI, Ele_Water);
break;
case TMW2_FROSTNOVA:
+ .@PW=80+(10*@skillLv);
// 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);
+ harm(@skillTarget, AdjustSpellpower(.@PW), HARM_MAGI, Ele_Water);
break;
// FIXME SK_Nilfheim
@@ -376,28 +384,31 @@ function script HUB_SkillInvoke {
// Brawling Class
case TMW2_BRAWLING:
// 75x3 = 225
- harm(@skillTarget, AdjustAttackpower(75), HARM_PHYS, Ele_Neutral);
- harm(@skillTarget, AdjustAttackpower(75), HARM_PHYS, Ele_Neutral);
- harm(@skillTarget, AdjustAttackpower(75), HARM_PHYS, Ele_Neutral);
+ .@PW=70+(5*@skillLv);
+ harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Neutral);
+ harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Neutral);
+ harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Neutral);
break;
case TMW2_BEARSTRIKE:
// 60x5 = 300
- harm(@skillTarget, AdjustAttackpower(60), HARM_PHYS, Ele_Neutral);
- harm(@skillTarget, AdjustAttackpower(60), HARM_PHYS, Ele_Neutral);
- harm(@skillTarget, AdjustAttackpower(60), HARM_PHYS, Ele_Neutral);
- harm(@skillTarget, AdjustAttackpower(60), HARM_PHYS, Ele_Neutral);
- harm(@skillTarget, AdjustAttackpower(60), HARM_PHYS, Ele_Neutral);
+ .@PW=55+(5*@skillLv);
+ harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Neutral);
+ harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Neutral);
+ harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Neutral);
+ harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Neutral);
+ harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Neutral);
break;
case TMW2_ALLINONE:
// 45x8 = 360
- harm(@skillTarget, AdjustAttackpower(45), HARM_PHYS, Ele_Neutral);
- harm(@skillTarget, AdjustAttackpower(45), HARM_PHYS, Ele_Fire);
- harm(@skillTarget, AdjustAttackpower(45), HARM_PHYS, Ele_Water);
- harm(@skillTarget, AdjustAttackpower(45), HARM_PHYS, Ele_Earth);
- harm(@skillTarget, AdjustAttackpower(45), HARM_PHYS, Ele_Wind);
- harm(@skillTarget, AdjustAttackpower(45), HARM_PHYS, Ele_Holy);
- harm(@skillTarget, AdjustAttackpower(45), HARM_PHYS, Ele_Shadow);
- harm(@skillTarget, AdjustAttackpower(45), HARM_PHYS, Ele_Ghost);
+ .@PW=40+(5*@skillLv);
+ harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Neutral);
+ harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Fire);
+ harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Water);
+ harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Earth);
+ harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Wind);
+ harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Holy);
+ harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Shadow);
+ harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Ghost);
break;
*/
// CLASS_OTHER