Prop Adjuster

From CoffeeMud Wiki
Revision as of 20:15, 13 April 2021 by Loki (talk | contribs)
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_Adjuster===
Effect: Adjustments to stats
Targets: Mobs
Parameters: statistic names followed by a +, -, or = and a value

The above parameters may be followed by an optional mask

Examples: str+2 dex-2 move+100 class=thief race=elf gender=F

str+2 dex-2 move+100 MASK=-Race +Dwarf

Description: The listed effects will be given to the mob. All parameters use the + or - adjuster, except the class, race, and gender parameters noted above. Valid parameters are as follows:

strength dexterity constitution charisma wisdom intelligence

maxstr maxdex maxcon maxcha maxwis maxint (maximum trainable)

savepar savefir savecol savewat savegas savemin savegen savejus

saveaci saveele savepoi saveund savemag savedis savetra

ability (magical level), armor, attacks (prowess), damage (max), disposition (sitting/standing/flying/etc), level, rejuv(!NO!), senses (blind/infravision/darkvision/etc), speed (#attacks), height, weight, gender, class, race, hitpoints, hunger (stomach size), mana, movement, thirst (stomach size) conversion weightadj saveblunt savepierce saveslash savespells saveprayers savesongs savechants critpctweapons critpctmagic critdmgweapons critdmgmagic.


By default, the values + or - are added to the existing values. However, if MULTIPLYPH=true is included in the parameters, then attack, armor, and damage will instead have their values multiplied by the given value / 100. Likewise, if MULTIPLYCH=true is included, then hitpoints, mana, and movement are similarly multiplied instead of added. All other values act the same.

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. This may seem a strange parameter for a mobs-only property, but perhaps you can find a use for it. :) See ZAPPERMASKS for more information on zapper mask syntax.

Notes

  • The appropriate property to provide stat modifiers to a mob is Prop_StatTrainer.