summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-13 12:50:53 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-13 12:50:53 -0300
commitb04bebd55ae8e8d460e68525dde585dff694160b (patch)
tree01c76afb4847a2edf3e8082161d6671161894cdb /npc
parentf58b9f150388f1d1c829c2bfcff820f998f6b278 (diff)
downloadserverdata-b04bebd55ae8e8d460e68525dde585dff694160b.tar.gz
serverdata-b04bebd55ae8e8d460e68525dde585dff694160b.tar.bz2
serverdata-b04bebd55ae8e8d460e68525dde585dff694160b.tar.xz
serverdata-b04bebd55ae8e8d460e68525dde585dff694160b.zip
Move itenplz/provoke/aggravate spell to its own file as well
Diffstat (limited to 'npc')
-rw-r--r--npc/magic/final.txt6
-rw-r--r--npc/magic/level1-aggravate.txt14
-rw-r--r--npc/scripts.conf1
3 files changed, 16 insertions, 5 deletions
diff --git a/npc/magic/final.txt b/npc/magic/final.txt
index ea67f85d..f610f01c 100644
--- a/npc/magic/final.txt
+++ b/npc/magic/final.txt
@@ -35,11 +35,7 @@ function script HUB_SkillInvoke {
case SKILL_ABIZIT:
SK_Abizit(); break;
case EVOL_AREA_PROVOKE:
- if (@skillTargetX && @skillTargetY)
- massprovoke(1+@skillLv, getmap(), @skillTargetX, @skillTargetY);
- else
- massprovoke(1+@skillLv);
- // SC_PROVOKE ?
+ SK_Itenplz(); break;
break;
////////////////////////////////
/* / XXX: Healing Class
diff --git a/npc/magic/level1-aggravate.txt b/npc/magic/level1-aggravate.txt
new file mode 100644
index 00000000..68f9a939
--- /dev/null
+++ b/npc/magic/level1-aggravate.txt
@@ -0,0 +1,14 @@
+// The Mana World script
+// Author: Jesusalva <jesusalva@themanaworld.org>
+//
+// Magic Script: EVOL_AREA_PROVOKE (Level 1)
+// School: Nature 1
+
+function script SK_Itenplz {
+ if (@skillTargetX && @skillTargetY)
+ massprovoke(1+@skillLv, getmap(), @skillTargetX, @skillTargetY);
+ else
+ massprovoke(1+@skillLv);
+ return;
+}
+
diff --git a/npc/scripts.conf b/npc/scripts.conf
index 566421f5..8c84c7b0 100644
--- a/npc/scripts.conf
+++ b/npc/scripts.conf
@@ -65,6 +65,7 @@
//Magic
"npc/magic/config.txt",
+"npc/magic/level1-aggravate.txt",
"npc/magic/level1-experience.txt",
"npc/magic/final.txt",