blob: b10505c9c169ac1b884d99fb50cc6e249a60f100 (
plain) (
tree)
|
|
// The Mana World script
// Author: Jesusalva <jesusalva@themanaworld.org>
//
// Magic Script: SKILL_KALMURK (Level 1)
// School: Astral 1
function script SK_Kalmurk {
delitem Root, 1;
delitem .@it, 1;
specialeffect(FX_MAGIC_MAGGOT_CAST, AREA, getcharid(3));
sleep2(cap_value(5400-AdjustSpellpower(100)-@skillLv*400, 500, 5000));
SK_summon(Maggot, 2, 1);
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;
}
|