diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-04-14 03:21:10 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-04-14 03:21:10 -0300 |
commit | 5e9bd903948c5d1a07524c32c3d32459241ba20f (patch) | |
tree | de4ec154757d617017522cdb01eb012cbf2d6c4d /npc/magic/level1-grow-plants.txt | |
parent | b1c87666c2cb51b6e0328ee8de7ec16224b3b29e (diff) | |
download | serverdata-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.txt | 23 |
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; +} + |