Prop HaveSpellCast

From CoffeeMud Wiki
Revision as of 21:26, 18 December 2023 by Loki (talk | contribs) (Replaced content with "{{#section-h:LISTPROPS|Casting spells when owned}} =Notes= . Category:ITEMS(BuilderInfo)")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


CoffeeMUD
Administrator                                                  Builder                                                              Player
=CoffeeMUD Builder Information=
Basics Praetor     Player Support     Commands     Zapper Masks Advanced Races     Classes     Abilities     Socials     Scripting    
Building Behaviors     Properties     Areas     Rooms     Exits     Items     Mobs Systems Achievements     Crafting     Help Info     Ships     Planes of Existence     Quests     Triumphs    
===Prop_HaveSpellCast===
Effect: Casting spells when owned
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

Examples: Spell_MageArmor;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 owned, the owner will be under the effect of the listed spells. 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 shorten the length of all spell casts.

The flag TICKS="NUMBER" can be used to shorten 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.


Notes

.