MUDL:spell summon undead for levels

From WikiName
Jump to: navigation, search


Summary

Function Name spell_summon_undead_for_levels
Settable No
Returns Summon undead creature (character)


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

Duration of Summon (integer)


This function implements the summon undead 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 summon mobile, the lowest summon 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