MUDL:spell summon undead for levels

From WikiName
Revision as of 22:17, 19 April 2019 by Teker (talk | contribs) (Created page with " __TOC__ = Summary = {|class="abilitiestable" border="0" cellspacing="0" cellpadding="0" ! Function Name | spell_summon_undead_for_levels |- ! Settable | No |- ! Returns |...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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