Prop Fumble

From CoffeeMud Wiki
Revision as of 21:50, 18 December 2023 by Loki (talk | contribs) (Created page with "{{#section-h:LISTPROPS|Causing skill failures}} =Notes= . Category:ROOMS(BuilderInfo) Category:AREAS(BuilderInfo) 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_Fumble===
Effect: Causing skill failures
Targets: Items, Areas, Rooms
Parameters: CHANCE="PCT" (ITEM=WORN/HERE/HAVE/PRESENT) (MASK="ZAPPERMASK")

(MSG="(S-NAME) fail(s) to do @x1 to (T-NAME) because @x2.") (PRIVATE=TRUE/FALSE) (AID="ABILITY ID",..) (WEAPON=TRUE/FALSE) (ATYPE="ABILITY TYPE",...) (ADOMAIN="DOMAIN",...) (CAST="ABILITY ID(ARGS)",...)

Examples: chance=50% mask="-race +elf" aid=Spell_Fireball,Spell_Light

chance=50% atype=spell,skill domain=stealthy chance=50% atype=spell cast=Spell_Fireball

Description: Causes a spell or skill to fumble and show a message according to the given chance%. The skills to fumble are identified as belonging to the given ATYPE (if specified) AND either belonging to the ADOMAIN, having an AFLAG, or having its Ability ID in the list of AID. The skill will fumble if the caster matches the given MASK zappermask. The message MSG= may be specified, with special codes @x1 for the skill name, and @x2 for the affected item name. The message can be shown PRIVATE= ly, or to everyone in the room. If the affected is an item, the ITEM= parameter can be used to specify the state that the item must be in to cause the fumble. Lastly, a CAST= argument can be given to cause fumbles to be accompanied by a spell being cast by the item against the skill user.


Prop_Fumble also has another mode of operation. If WEAPON=TRUE, then instead of fumbling skills, it will fumble attacks and cause the attacker to suffer the consequences.


Notes

.