summaryrefslogtreecommitdiff
path: root/npc/magic/level1-summon-maggots.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-12-18 11:00:31 -0300
committerJesusaves <cpntb1@ymail.com>2021-12-18 11:00:31 -0300
commite3946aa12ffc3bc03b78e63ec82857b212ef82df (patch)
tree9b363eb4620a63f5e2a552f6a1ca603aca2c8f8c /npc/magic/level1-summon-maggots.txt
parent2bd8ff1795dc6b0c7b04b2481a66e3093ba4b278 (diff)
downloadserverdata-e3946aa12ffc3bc03b78e63ec82857b212ef82df.tar.gz
serverdata-e3946aa12ffc3bc03b78e63ec82857b212ef82df.tar.bz2
serverdata-e3946aa12ffc3bc03b78e63ec82857b212ef82df.tar.xz
serverdata-e3946aa12ffc3bc03b78e63ec82857b212ef82df.zip
Add back Jande's Special Skill
Diffstat (limited to 'npc/magic/level1-summon-maggots.txt')
-rw-r--r--npc/magic/level1-summon-maggots.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/npc/magic/level1-summon-maggots.txt b/npc/magic/level1-summon-maggots.txt
index 7ca9f74d..b10505c9 100644
--- a/npc/magic/level1-summon-maggots.txt
+++ b/npc/magic/level1-summon-maggots.txt
@@ -13,3 +13,14 @@ function script SK_Kalmurk {
return;
}
+function script SK_Jande {
+ delitem TinyManaElixir, 1;
+ specialeffect(FX_MAGIC_MAGGOT_CAST, AREA, getcharid(3));
+ sleep2(cap_value(15400-AdjustSpellpower(100)-@skillLv*400, 10000, 15000));
+ .@lifetime=59+@skillLv;
+ .@lifetime = .@lifetime * (50 + abizit() * rand2(5,6)) / 100;
+ .@lifetime *= 1000;
+ summon("Summoned Monster", ManaGuard, .@lifetime);
+ return;
+}
+