Difference between revisions of "Prop Adjuster"
(→Syntax) |
|||
Line 1: | Line 1: | ||
− | {{ | + | {{#section-h:LISTPROPS|Adjustments to stats}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===Syntax=== | ===Syntax=== |
Revision as of 20:54, 18 December 2023
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, ableprofs, and ablelvls parameters. 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 (see AHELP ADJDISPOSITION), level, rejuv(!NO!), senses (see AHELP ADJSENSES), speed (#attacks), RONDEATH (t/f),height, weight, ambiance+, gender, class, clstart, race, hitpoints, hunger (stomach size), mana, movement, thirst (stomach size) doubt faith weightadj saveblunt savepierce saveslash savespells saveprayers savesongs savechants rejuvrate critpctweapons critpctmagic critdmgweapons critdmgmagic faith rejuvrate xpadjpct. Ableprofs and ablelvls is a commma-delimited list of ablityids followed by a number in parenthesis to adjust proficiency or casting level by.
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 RONDEATH parameter, when set to true, causes this property to disappear on the death of the item owner, the mob, or a mob in the room. 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. |
Syntax
Syntax is extremely important in defining properties, so verify you have the correct affect after setting your adjuster.
- any disposition modifiers should be the last parameters in your property. IE, DAM+2 disposition+isevil
Adjuster | Proper Syntax | Effect | Notes |
---|---|---|---|
Magical Ability | Ability+X | Increases the magical ability of the target by [X]. Minus (-) or Equals (=) may be used instead of Plus (+) to reduce or set the value of the Magical Ability. | When placed on a GenEnvResource, it will grant a magical bonus on any item crafted with that resource by the value of X. |
Dispositions | disposition=ISINVISIBLE | makes the target invisible at all times unless otherwise suppressed. | |
Dispositions | disposition=ISHIDDEN | makes the target hidden at all times unless otherwise suppressed. | |
Dispositions | disposition=ISNEVERSEEN | makes the target never seen. This should only be used to script special events. | |
Dispositions | disposition=ISMAGICAL | makes the target have a magical aura (detectable by detect magic). | |
Dispositions | disposition=ISGLOWING | makes the target emit a small amount of light, enough to see the target in the dark. | |
Dispositions | disposition=ISLIGHT | makes the target a light source. | |
Dispositions | disposition=ISFLYING | Grants the target the FLYING flag. | |
Dispositions | disposition=ISCLIMBING | Puts the target in the climbing state, halting hit point, mana, and movement regeneration, but able to use UP or DOWN without restrictions. | |
Dispositions | disposition=ISSLEEPING | Puts the target in a sleeping state, greatly reducing awareness but increasing hit point, mana, and movement regeneration. | |
Dispositions | disposition=ISSITTING | Puts the target in a sitting state, reducing awareness but increasing hit point, mana, and movement regeneration. | |
Dispositions | disposition=ISSNEAKING | Suppresses entry/exit messages when the target changes rooms except to targets that can detect hidden. | |
Dispositions | disposition=ISSWIMMING | Puts the target in a swimming state, enabling motion in any direction through water without a swim check. | |
Dispositions | disposition=ISEVIL | Gives the target an EVIL disposition. | |
Dispositions | disposition=ISGOOD | Gives the target a GOOD disposition. | |
Dispositions | disposition=ISUNATTACKABLE | Prevents the target from being subject to combat. This disposition should be used with caution, since it may have some unintended effects. Consider Prop_SafePet for mobs. | A good use for this disposition would be on GenSailingShips required for game play (such as transports between capitols). |
Notes
- The appropriate property to provide stat modifiers to a mob is Prop_StatTrainer.