Difference between revisions of "Prop FightSpellCast"

From CoffeeMud Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{PropertyTemplate|ID=Prop_FightSpellCast|Name=Casting spells when properly used during combat|Domain=[[nothing(Domain)|Nothing]]|Available=|Allows=|UseCost=None|Quality=Circumstantial|Targets=Weapon (Item)|Range=Range -2147483648 - Range 2147483647|Commands=|Usage=A percentage, and proper spell names separated by semicolons
+
{{PropertyTemplate|ID=Prop_FightSpellCast|Name=Casting spells when properly used during combat|Domain=[[nothing(Domain)|Nothing]]|Available=|Allows=|Align=|UseCost=None|Quality=Circumstantial|Targets=Weapon (Item)|Range=Range -2147483648 - Range 2147483647|Commands=|Usage=A percentage, and proper spell names separated by semicolons Spell names may optionally have parameters in parenthesis
Spell names may optionally have parameters in parenthesis
+
Siege weapons: ALLMOBS, ALLITEMS, ONLYMOBS, ONLYITEMS flags
 +
 
 
The above parameters may be followed by an optional mask|Examples=50%;Spell_Invisible;Prayer_Sanctuary
 
The above parameters may be followed by an optional mask|Examples=50%;Spell_Invisible;Prayer_Sanctuary
  
Line 6: Line 7:
  
 
Spell_Portal(Somewhere else);MASK=-RACE +Dwarf
 
Spell_Portal(Somewhere else);MASK=-RACE +Dwarf
 +
|Description=Causes a spell to be cast upon the target being struck during melee combat. This property also supports a % chance of triggering.  Siege weapons will also affect a random mob/item on the deck, or all if ALLMOBS/ALLITEMS added, orselectively if ONLYMOBS/ONLYITEMS added.
  
|Description=Causes a spell to be cast upon the target being struck during melee combat. This property also supports a % chance of triggering.
+
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 all spell casts.  
  
 
The flag TICKS=(NUMBER) can be used to shorted the length of all subsequent listed spells.  
 
The flag TICKS=(NUMBER) can be used to shorted the length of all subsequent listed spells.  
Line 14: Line 16:
  
 
===Notes===
 
===Notes===
*When this property is placed on a siege weapon or its ammunition, it will randomly affect 1 item/mob within the target to receive the listed affect.
+
*When this property is placed on a siege weapon or its ammunition, it will randomly affect 1 item/mob within the target to receive the listed affect, unless one of the siege weapon parameters is used (ALLMOBS, ALLITEMS, ONLYMOBS, ONLYITEMS).
 
[[Category:ITEMS(BuilderInfo)]]
 
[[Category:ITEMS(BuilderInfo)]]

Revision as of 18:23, 10 June 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_FightSpellCast===
Effect: Casting spells when properly used during combat
Targets: Weapon (Item)
Parameters: A percentage, and proper spell names separated by semicolons Spell names may optionally have parameters in parenthesis

Siege weapons: ALLMOBS, ALLITEMS, ONLYMOBS, ONLYITEMS flags

The above parameters may be followed by an optional mask

Examples: 50%;Spell_Invisible;Prayer_Sanctuary

90%;Spell_Portal(Somewhere else);Prayer_SummonElemental(/FIRE)

Spell_Portal(Somewhere else);MASK=-RACE +Dwarf

Description: Causes a spell to be cast upon the target being struck during melee combat. This property also supports a % chance of triggering. Siege weapons will also affect a random mob/item on the deck, or all if ALLMOBS/ALLITEMS added, orselectively if ONLYMOBS/ONLYITEMS added.

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 all 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

  • When this property is placed on a siege weapon or its ammunition, it will randomly affect 1 item/mob within the target to receive the listed affect, unless one of the siege weapon parameters is used (ALLMOBS, ALLITEMS, ONLYMOBS, ONLYITEMS).