Difference between revisions of "Prop WearSpellCast"

From CoffeeMud Wiki
Jump to navigation Jump to search
(Created page with "{{PropertyTemplate|ID=Prop_WearSpellCast|Name=Casting spells when worn|Domain=Nothing|Available=|Allows=|UseCost=None|Quality=Circumstantial|Targets=Items|...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{PropertyTemplate|ID=Prop_WearSpellCast|Name=Casting spells when worn|Domain=[[nothing(Domain)|Nothing]]|Available=|Allows=|UseCost=None|Quality=Circumstantial|Targets=Items|Range=Range -2147483648 - Range 2147483647|Commands=|Usage=a list of properly named spells separated by semicolons
+
{{#section-h:LISTPROPS|Casting spells when worn}}
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.
+
=Notes=
 
+
*Prop_WearSpellCast was updated to prevent smokeables/lightables from starting their effect if the object is not lit. (post v5.9.11.3)
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|ZAPPERMASKS]] for more information on zapper mask syntax.}}
 
 
 
===Notes===
 
.
 
 
[[Category:ITEMS(BuilderInfo)]]
 
[[Category:ITEMS(BuilderInfo)]]

Latest revision as of 21:49, 18 December 2023


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, wielded, or smoked, 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 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

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