MUDL:spell animate dead for levels

From WikiName
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