From 27140ff716ab751f350c7f369a98b3e93732ba2c Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 21 Jun 2020 06:06:58 -0300 Subject: Deprecate EVOL_MASS_PROVOKE in favor of EVOL_AREA_PROVOKE Requires some mild testing, but should work. --- npc/functions/hub.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'npc/functions/hub.txt') 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: -- cgit v1.2.3-60-g2f50