summaryrefslogtreecommitdiff
path: root/npc/functions/hub.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-06-21 06:06:58 -0300
committerJesusaves <cpntb1@ymail.com>2020-06-21 06:06:58 -0300
commit27140ff716ab751f350c7f369a98b3e93732ba2c (patch)
tree6f8bcdff3b1fa41e7b03d7ee827bd8d80d94798c /npc/functions/hub.txt
parent357a5e0af9391094f499e8cc10221288ef53fe36 (diff)
downloadserverdata-27140ff716ab751f350c7f369a98b3e93732ba2c.tar.gz
serverdata-27140ff716ab751f350c7f369a98b3e93732ba2c.tar.bz2
serverdata-27140ff716ab751f350c7f369a98b3e93732ba2c.tar.xz
serverdata-27140ff716ab751f350c7f369a98b3e93732ba2c.zip
Deprecate EVOL_MASS_PROVOKE in favor of EVOL_AREA_PROVOKE
Requires some mild testing, but should work.
Diffstat (limited to 'npc/functions/hub.txt')
-rw-r--r--npc/functions/hub.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index 1e2711622..ba89f483d 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -254,7 +254,10 @@ function script HUB_SkillInvoke {
SK_mpregen();
break;
case EVOL_AREA_PROVOKE:
- massprovoke(1+@skillLv);
+ if (@skillTargetX && @skillTargetY)
+ massprovoke(1+@skillLv, getmap(), @skillTargetX, @skillTargetY);
+ else
+ massprovoke(1+@skillLv);
GetManaExp(@skillId, rand2(1,3));
break;
case TMW2_GD_INCALL:
@@ -500,7 +503,6 @@ function script HUB_SkillInvoke {
case AL_HEAL:
case HW_MAGICPOWER:
case SM_PROVOKE:
- case EVOL_MASS_PROVOKE:
case AB_HIGHNESSHEAL:
case SN_WINDWALK:
case MG_FIREBALL: