Prop UseAdjuster

From CoffeeMud Wiki
Revision as of 21:44, 3 August 2018 by Loki (talk | contribs) (Created page with "{{PropertyTemplate|ID=Prop_UseAdjuster|Name=Adjusting stats when used|Domain=Nothing|Available=|Allows=|UseCost=None|Quality=Circumstantial|Targets=Items|R...")
(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_UseAdjuster===
Effect: Adjusting stats when used
Targets: Items
Parameters: statistic names followed by a +, -, or = and a value

(reversed) The above parameters may be followed by an optional mask

Examples: move+100 class=thief race=elf gender=F

dex-1 reversed MASK=-Race +Dwarf

Description: When the item with this property is used in a particular way, the listed effects will be permanently given to the owner. For items, trigger use includes:

Food, Drink: EAT/DRINK

Weapon: Doing damage with (can be reversed)

Container: Putting something into

Armor: Taking damage while wearing properly

The REVERSED parameter is special, and means that instead of the effect going to the owner of the item, it goes to the other party in a trigger, such as to the target instead of the owner when a weapon does damage, or to the attacker instead of the owner when taking damage with an armor.

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. See ZAPPERMASKS for more information on zapper mask syntax.

Notes

.