MUDL:spell animate dead for levels

From SlothMUD Wiki
Revision as of 22:16, 19 April 2019 by Teker (Talk | contribs) (Created page with " __TOC__ = Summary = {|class="abilitiestable" border="0" cellspacing="0" cellpadding="0" ! Function Name | spell_animate_dead_for_levels |- ! Settable | No |- ! Returns | A...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Summary

Function Name spell_animate_dead_for_levels
Settable No
Returns Animate dead creature (character)


Parameter Options
Caster (character), Total Levels of Summon Creature (integer),

Duration of Summon (integer)


This function implements the animate dead spell for the caster. The mobile summoned will be the highest level mobile available given the total levels parameter. The summon will last for the duration provided. If the number of levels is less than the lowest animate mobile, the lowest animate mobile will be created. The mobile is created in the same room as the caster, charmed, and set to follow the caster. The return value is the new mobile.


Example

TBD