Prop FightSpellCast

From CoffeeMud Wiki
Revision as of 21:27, 18 December 2023 by Loki (talk | contribs)
(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_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 shorten the length of all spell casts.

The flag TICKS="NUMBER" can be used to shorten the length of all subsequent listed spells.

The flag NOOWN can be used to skip item ownership checks.


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).