Difference between revisions of "Prop WearSpellCast"

From CoffeeMud Wiki
Jump to navigation Jump to search
Line 14: Line 14:
  
 
===Notes===
 
===Notes===
.
+
*Prop_WearSpellCast was updated to prevent smokeables/lightables from starting their effect if the object is not lit. (post v5.9.11.3)
 
[[Category:ITEMS(BuilderInfo)]]
 
[[Category:ITEMS(BuilderInfo)]]

Revision as of 21:35, 1 February 2022

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_WearSpellCast===
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.

Notes

  • Prop_WearSpellCast was updated to prevent smokeables/lightables from starting their effect if the object is not lit. (post v5.9.11.3)