summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/clientversion.txt12
-rw-r--r--npc/functions/hub.txt6
2 files changed, 16 insertions, 2 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt
index f7926953e..36d4792b0 100644
--- a/npc/functions/clientversion.txt
+++ b/npc/functions/clientversion.txt
@@ -825,6 +825,18 @@ function script clientupdater {
dispbottom l("Crafting rules changed! Your crafting skill was lowered to Level 5, talk to Craftmaster to recover it!");
}
+ // Mass Provoke replacement
+ if (getskilllv(EVOL_AREA_PROVOKE)) {
+ getitembound ScholarshipBadge, getskilllv(EVOL_AREA_PROVOKE), 4;
+ MAGIC_PTS-=getskilllv(EVOL_AREA_PROVOKE)+1;
+ skill EVOL_AREA_PROVOKE, 0, 0;
+ dispbottom col(l("MSP for Area Provoke was refunded."), 1);
+ }
+ if (getskilllv(EVOL_MASS_PROVOKE)) {
+ skill EVOL_AREA_PROVOKE, getskilllv(EVOL_MASS_PROVOKE), 0;
+ skill EVOL_MASS_PROVOKE, 0, 0;
+ dispbottom col(l("Mass Provoke replaced with Area Provoke."), 1);
+ }
}
// :// End of Regular Update System
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: