Prop WearSpellCast

From CoffeeMud Wiki
Jump to: navigation, search
Administrator                                                  Builder                                                              Player
=CoffeeMUD Builder Information=
Praetor     Player Support     Scripting     Races     Commands    Classes     Abilities     Socials     Achievements     Behaviors     Properties     Areas     Rooms     Exits     Items     Mobs     Crafting     Ships     Quests     Zapper Masks
Effect: Casting spells when worn
Targets: Items
Parameters: a list of properly named spells separated by semicolons

Spell names may optionally have parameters in parenthesis. The above parameters may be followed by an optional mask The above parameters may include optional LAYERED flag

Examples: Spell_MageArmor;Spell_Shield

Spell_MageArmor;LAYERED;Spell_Shield 90%;Spell_Portal(Somewhere else);Prayer_SummonElemental(/FIRE) Spell_MageArmor;Spell_Shield; MASK=-RACE +Dwarf

Description: So long as the item with this property is being worn or wielded, the owner will be under the effect of the listed spells. The layered flag means that, among layers of armor, only the top layer will grant its effect. The flag NOUNINVOKE can be substituted for a spell to make all the effects non-dispellable until the property no longer applies; use this flag with care! The flag LEVEL=(NUMBER) can also be substituted for a spell name to force all the listed effects be cast at a different level than default.The flag MAXTICKS=(NUMBER) can be used to shorted the length of spell casts.

The flag TICKS=(NUMBER) can be used to shorted the length of all subsequent listed spells.

The parameters may also END with the key word MASK= followed by a mask. This mask will select which kinds of mobs and players will be affected by this property. See ZAPPERMASKS for more information on zapper mask syntax.