summaryrefslogtreecommitdiff
path: root/npc/magic/level1-grow-plants.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-14 03:21:10 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-14 03:21:10 -0300
commit5e9bd903948c5d1a07524c32c3d32459241ba20f (patch)
treede4ec154757d617017522cdb01eb012cbf2d6c4d /npc/magic/level1-grow-plants.txt
parentb1c87666c2cb51b6e0328ee8de7ec16224b3b29e (diff)
downloadserverdata-5e9bd903948c5d1a07524c32c3d32459241ba20f.tar.gz
serverdata-5e9bd903948c5d1a07524c32c3d32459241ba20f.tar.bz2
serverdata-5e9bd903948c5d1a07524c32c3d32459241ba20f.tar.xz
serverdata-5e9bd903948c5d1a07524c32c3d32459241ba20f.zip
Add the annoying grow plant spells
Diffstat (limited to 'npc/magic/level1-grow-plants.txt')
-rw-r--r--npc/magic/level1-grow-plants.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/npc/magic/level1-grow-plants.txt b/npc/magic/level1-grow-plants.txt
new file mode 100644
index 00000000..c3a1a102
--- /dev/null
+++ b/npc/magic/level1-grow-plants.txt
@@ -0,0 +1,23 @@
+// The Mana World script
+// Author: Jesusalva <jesusalva@themanaworld.org>
+//
+// Magic Script: Multiple (Level 1)
+// School: Nature 1
+
+function script SK_GrowPlants {
+ // Setup
+ switch (@skillId) {
+ case SKILL_MODRIPHOO:
+ .@it = AlizarinHerb; .@mobId = AlizarinPlant; break;
+ case SKILL_MODRISUMP:
+ .@it = CobaltHerb; .@mobId = CobaltPlant; break;
+ case SKILL_MODRIYIKAM:
+ .@it = GambogeHerb; .@mobId = GambogePlant; break;
+ case SKILL_MODRILAX:
+ .@it = MauveHerb; .@mobId = MauvePlant; break;
+ }
+ // Continue but with a special flag
+ SK_summon(.@mobId, 2, 1, false);
+ return;
+}
+