summaryrefslogtreecommitdiff
path: root/npc/magic/level1-summon-maggots.txt
blob: 7ca9f74d30e6b3456efaff526a687e962bbadc13 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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;
}