Modifiers: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Heeheehee
m Adding a link back to Modifier Functions... what if people get lost? Also fixed redundancy regarding modref.
imported>Heeheehee
m Fixing some faulty notes; moved default values out of tables to reduce cruft.
Line 8: Line 8:
==Numeric Modifiers==
==Numeric Modifiers==
Note that although some of these functions have an ASH derivative that may be easier to use, the two-parameter form is still relevant and rather useful when obtaining information about a particular [string|item|effect|skill|familiar], rather than your current state.
Note that although some of these functions have an ASH derivative that may be easier to use, the two-parameter form is still relevant and rather useful when obtaining information about a particular [string|item|effect|skill|familiar], rather than your current state.
When not logged in, these all return 0 for the 1-parameter form of [[numeric_modifier|numeric_modifier()]].
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
!  Modifier Name
!  Modifier Name
!  Not-logged-in Value
!  Related ASH function / Notes
!  Related ASH function / Notes
|-
|-
| Familiar Weight
| Familiar Weight
| 0.0
| [[weight_adjustment| weight_adjustment()]]
| [[weight_adjustment| weight_adjustment()]]
|-
|-
| Monster Level
| Monster Level
| 0.0
| [[monster_level_adjustment| monster_level_adjustment()]]
| [[monster_level_adjustment| monster_level_adjustment()]]
|-
|-
| Combat Rate
| Combat Rate
| 0.0
| [[combat_rate_modifier| combat_rate_modifier()]]
| [[combat_rate_modifier| combat_rate_modifier()]]
|-
|-
| Initiative
| Initiative
| 0.0
| [[initiative_modifier| initiative_modifier()]]
| [[initiative_modifier| initiative_modifier()]]
|-
|-
| Experience
| Experience
| 0.0
| [[experience_bonus| experience_bonus()]]
| [[experience_bonus| experience_bonus()]]
|-
|-
| Item Drop
| Item Drop
| 0.0
| [[item_drop_modifier| item_drop_modifier()]]
| [[item_drop_modifier| item_drop_modifier()]]
|-
|-
| Meat Drop
| Meat Drop
| 0.0
| [[meat_drop_modifier| meat_drop_modifier()]]
| [[meat_drop_modifier| meat_drop_modifier()]]
|-
|-
| Damage Absorption
| Damage Absorption
| 0.0
| [[raw_damage_absorption| raw_damage_absorption()]]
| [[raw_damage_absorption| raw_damage_absorption()]]
|-
|-
| Damage Reduction
| Damage Reduction
| 0.0
| [[damage_reduction|damage_reduction()]]
| [[damage_reduction|damage_reduction()]]
|-
|-
| Cold Resistance
| Cold Resistance
| 0.0
| Similar to [[elemental_resistance|elemental_resistance( $element[cold] )]], but returns the level of resistance.
| [[elemental_resistance|elemental_resistance( $element[cold] )]]
|-
|-
| Hot Resistance
| Hot Resistance
| 0.0
| Similar to [[elemental_resistance|elemental_resistance( $element[hot] )]], but returns the level of resistance.
| [[elemental_resistance|elemental_resistance( $element[hot] )]]
|-
|-
| Sleaze Resistance
| Sleaze Resistance
| 0.0
| Similar to [[elemental_resistance|elemental_resistance( $element[sleaze] )]], but returns the level of resistance.
| [[elemental_resistance|elemental_resistance( $element[sleaze] )]]
|-
|-
| Spooky Resistance
| Spooky Resistance
| 0.0
| Similar to [[elemental_resistance|elemental_resistance( $element[spooky] )]], but returns the level of resistance.
| [[elemental_resistance|elemental_resistance( $element[spooky] )]]
|-
|-
| Stench Resistance
| Stench Resistance
| 0.0
| Similar to [[elemental_resistance|elemental_resistance( $element[stench] )]], but returns the level of resistance.
| [[elemental_resistance|elemental_resistance( $element[stench] )]]
|-
|-
| Mana Cost
| Mana Cost
| 0.0
| Similar to [[mana_cost_modifier|mana_cost_modifier()]] -- only counts up to the -3 cap.
| Similar to [[mana_cost_modifier|mana_cost_modifier()]] -- only counts up to the -3 cap.
|-
|-
| Moxie
| Moxie
| 0.0
| Sum of all absolute moxie modifiers.
| Sum of all absolute moxie modifiers.
|-
|-
| Moxie Percent
| Moxie Percent
| 0.0
| Sum of all percentage-based moxie modifiers.
| Sum of all percentage-based moxie modifiers.
|-
|-
| Muscle
| Muscle
| 0.0
| Sum of all absolute muscle modifiers.
| Sum of all absolute muscle modifiers.
|-
|-
| Muscle Percent
| Muscle Percent
| 0.0
| Sum of all percentage-based muscle modifiers.
| Sum of all percentage-based muscle modifiers.
|-
|-
| Mysticality
| Mysticality
| 0.0
| Sum of all absolute mysticality modifiers.
| Sum of all absolute mysticality modifiers.
|-
|-
| Mysticality Percent
| Mysticality Percent
| 0.0
| Sum of all percentage-based mysticality modifiers.
| Sum of all percentage-based mysticality modifiers.
|-
|-
| Maximum HP
| Maximum HP
| 0.0
| Sum of all absolute HP modifiers.
| Sum of all absolute HP modifiers.
|-
|-
| Maximum HP Percent
| Maximum HP Percent
| 0.0
| Sum of all percentage-based HP modifiers.
| Sum of all percentage-based HP modifiers.
|-
|-
| Maximum MP
| Maximum MP
| 0.0
| Sum of all absolute MP modifiers.
| Sum of all absolute MP modifiers.
|-
|-
| Maximum MP Percent
| Maximum MP Percent
| 0.0
| Sum of all percentage-based MP modifiers.
| Sum of all percentage-based MP modifiers.
|-
|-
| Weapon Damage
| Weapon Damage
| 0.0
| Sum of all absolute weapon damage modifiers.
| Sum of all absolute weapon damage modifiers.
|-
|-
| Ranged Damage
| Ranged Damage
| 0.0
| Sum of all absolute ranged damage modifiers.
| Sum of all absolute ranged damage modifiers.
|-
|-
| Spell Damage
| Spell Damage
| 0.0
| Sum of all absolute spell damage modifiers.
| Sum of all absolute spell damage modifiers.
|-
|-
| Spell Damage Percent
| Spell Damage Percent
| 0.0
| Sum of all percentage-based spell damage modifiers.
| Sum of all percentage-based spell damage modifiers.
|-
|-
| Cold Damage
| Cold Damage
| 0.0
| Total cold damage.
| Total cold damage.
|-
|-
| Hot Damage
| Hot Damage
| 0.0
| Total hot damage.
| Total hot damage.
|-
|-
| Sleaze Damage
| Sleaze Damage
| 0.0
| Total sleaze damage.
| Total sleaze damage.
|-
|-
| Spooky Damage
| Spooky Damage
| 0.0
| Total spooky damage.
| Total spooky damage.
|-
|-
| Stench Damage
| Stench Damage
| 0.0
| Total stench damage.
| Total stench damage.
|-
|-
| Cold Spell Damage
| Cold Spell Damage
| 0.0
| Total cold spell damage.
| Total cold spell damage.
|-
|-
| Hot Spell Damage
| Hot Spell Damage
| 0.0
| Total hot spell damage.
| Total hot spell damage.
|-
|-
| Sleaze Spell Damage
| Sleaze Spell Damage
| 0.0
| Total sleaze spell damage.
| Total sleaze spell damage.
|-
|-
| Spooky Spell Damage
| Spooky Spell Damage
| 0.0
| Total spooky spell damage.
| Total spooky spell damage.
|-
|-
| Stench Spell Damage
| Stench Spell Damage
| 0.0
| Total stench spell damage.
| Total stench spell damage.
|-
|-
| Critical
| Critical
| 0.0
| Critical multiplier.
| Critical multiplier.
|-
|-
| Fumble
| Fumble
| 0.0
| Fumble multiplier.
| Fumble multiplier.
|-
|-
| HP Regen Min
| HP Regen Min
| 0.0
| Lower bound of all HP-regenerating effects/equipment.
| Lower bound of all HP-regenerating effects/equipment.
|-
|-
| HP Regen Max
| HP Regen Max
| 0.0
| Upper bound of all HP-regenerating effects/equipment.
| Upper bound of all HP-regenerating effects/equipment.
|-
|-
| MP Regen Min
| MP Regen Min
| 0.0
| Lower bound of all MP-regenerating effects/equipment.
| Lower bound of all MP-regenerating effects/equipment.
|-
|-
| MP Regen Max
| MP Regen Max
| 0.0
| Upper bound of all MP-regenerating effects/equipment.
| Upper bound of all MP-regenerating effects/equipment.
|-
|-
| Adventures
| Adventures
| 0.0
| Bonus Rollover adventures
| Bonus Rollover Adventures
|-
|-
| Familiar Weight Percent
| Familiar Weight Percent
| 0.0
| Percentage modifier of Familiar Weight (from Bad Moon effects; always <= 0)
| Percentage modifier of Familiar Weight (from Bad Moon effects; always <= 0)
|-
|-
| Weapon Damage Percent
| Weapon Damage Percent
| 0.0
| Sum of all percentage-based weapon damage modifiers.
| Sum of all percentage-based weapon damage modifiers.
|-
|-
| Ranged Damage Percent
| Ranged Damage Percent
| 0.0
| Sum of all percentage-based ranged damage modifiers.
| Sum of all percentage-based ranged damage modifiers.
|-
|-
| Stackable Mana Cost
| Stackable Mana Cost
| 0.0
| Similar to [[mana_cost_modifier|mana_cost_modifier()]] -- all other MP cost modifiers.
| Similar to [[mana_cost_modifier|mana_cost_modifier()]] -- all other MP cost modifiers.
|-
|-
| Hobo Power
| Hobo Power
| 0.0
| Hobo Power from equipment and effects (effect, technically).
| Hobo Power from equipment and effects (effect?).
|-
|-
| Base Resting HP
| Base Resting HP
| 0.0
| Average HP gained from resting.
| Average HP gained from resting.
|-
|-
| Resting HP Percent
| Resting HP Percent
| 0.0
| Percentage modifier to HP gained from resting (e.g. from Pagoda).
| Percentage modifier to HP gained from resting (e.g. from Pagoda).
|-
|-
| Bonus Resting HP
| Bonus Resting HP
| 0.0
| Absolute modifier to HP gained from resting (e.g. from Gauze hammock).
| Absolute modifier to HP gained from resting (e.g. from Gauze hammock).
|-
|-
| Base Resting MP
| Base Resting MP
| 0.0
| MP gained from resting.
| MP gained from resting.
|-
|-
| Resting MP Percent
| Resting MP Percent
| 0.0
| Percentage modifier to HP gained from resting (e.g. Pagoda).
| Percentage modifier to HP gained from resting (e.g. Pagoda).
|-
|-
| Bonus Resting MP
| Bonus Resting MP
| 0.0
| Absolute modifier to HP gained from resting (e.g. from Beanbag chair).
| Absolute modifier to HP gained from resting (e.g. from Beanbag chair).
|-
|-
| Critical Hit Percent
| Critical Hit Percent
| 0.0
| Percentage modifiers to critical hits (e.g. Depleted Grimacite Kneecapping stick).
| Percentage modifiers to critical hits (e.g. Depleted Grimacite Kneecapping stick).
|-
|-
| PvP Fights
| PvP Fights
| 0.0
| Bonus PvP fights upon Rollover.
| Bonus PvP fights upon Rollover.
|-
|-
| Volleyball
| Volleyball
| 0.0
| (?) Only for use with the two-parameter form, taking a familiar as the other parameter.
| (?) Only for use with the two-parameter form, taking a familiar as the other parameter.
|-
|-
| Sombrero
| Sombrero
| 0.0
| (?) Only for use with the two-parameter form, taking a familiar as the other parameter.
| (?) Only for use with the two-parameter form, taking a familiar as the other parameter.
|-
|-
| Leprechaun
| Leprechaun
| 0.0
| (?) Only for use with the two-parameter form, taking a familiar as the other parameter.
| (?) Only for use with the two-parameter form, taking a familiar as the other parameter.
|-
|-
| Fairy
| Fairy
| 0.0
| (?) Only for use with the two-parameter form, taking a familiar as the other parameter.
| (?) Only for use with the two-parameter form, taking a familiar as the other parameter.
|-
|-
| Meat Drop Penalty
| Meat Drop Penalty
| 0.0
| Penalty to Meat Drops; result of having an Underwater location selected as your current location.
| Penalty to Meat Drops; result of having an Underwater location selected as your current location.
|-
|-
| Hidden Familiar Weight
| Hidden Familiar Weight
| 0.0
| Bonus familiar weight that does not show up on the character pane (e.g. from Temporary Teardrop Tattoo).
| Bonus familiar weight that does not show up on the character pane (e.g. from Temporary Teardrop Tattoo).
|-
|-
| Item Drop Penalty
| Item Drop Penalty
| 0.0
| Penalty to Item Drops; result of having an Underwater location selected as your current location.
| Penalty to Item Drops; result of having an Underwater location selected as your current location.
|-
|-
| Initiative Penalty
| Initiative Penalty
| 0.0
| Penalty to Initiative Drops; result of having an Underwater location selected as your current location.
| Penalty to Initiative Drops; result of having an Underwater location selected as your current location.
|-
|-
| Food Drop
| Food Drop
| 0.0
| Exclusive bonus to food drops (e.g. Brother Flying Burrito's Blessing).
| Exclusive bonus to food drops (e.g. Brother Flying Burrito's Blessing).
|-
|-
| Booze Drop
| Booze Drop
| 0.0
| Exclusive bonus to food drops (e.g. Brother Smother's Blessing).
| Exclusive bonus to food drops (e.g. Brother Smother's Blessing).
|-
|-
| Hat Drop
| Hat Drop
| 0.0
| Exclusive bonus to hat drops (e.g. velcro broadsword).
| Exclusive bonus to hat drops (e.g. velcro broadsword).
|-
|-
| Weapon Drop
| Weapon Drop
| 0.0
| Exclusive bonus to weapon drops (e.g. velcro broadsword).
| Exclusive bonus to weapon drops (e.g. velcro broadsword).
|-
|-
| Offhand Drop
| Offhand Drop
| 0.0
| Exclusive bonus to offhand drops (e.g. velcro broadsword).
| Exclusive bonus to offhand drops (e.g. velcro broadsword).
|-
|-
| Shirt Drop
| Shirt Drop
| 0.0
| Exclusive bonus to shirt drops (e.g. velcro broadsword).
| Exclusive bonus to shirt drops (e.g. velcro broadsword).
|-
|-
| Pants Drop
| Pants Drop
| 0.0
| Exclusive bonus to weapon drops (e.g. Baneful Bandolier).
| Exclusive bonus to weapon drops (e.g. Baneful Bandolier).
|-
|-
| Accessory Drop
| Accessory Drop
| 0.0
| Exclusive bonus to weapon drops (e.g. velcro paddle ball).
| Exclusive bonus to weapon drops (e.g. velcro paddle ball).
|-
|-
| Volleyball Effectiveness
| Volleyball Effectiveness
| 0.0
| (?) Only for use with the two-parameter form, taking a familiar as the other parameter.
| (?) Only for use with the two-parameter form, taking a familiar as the other parameter.
|-
|-
| Sombrero Effectiveness
| Sombrero Effectiveness
| 0.0
| (?) Only for use with the two-parameter form, taking a familiar as the other parameter. (e.g. Llama returns .5?)
| (?) Only for use with the two-parameter form, taking a familiar as the other parameter. (e.g. Llama returns .5?)
|-
|-
| Leprechaun Effectiveness
| Leprechaun Effectiveness
| 0.0
| (?) Only for use with the two-parameter form, taking a familiar as the other parameter. (e.g. Hobo monkey returns 1.25?)
| (?) Only for use with the two-parameter form, taking a familiar as the other parameter. (e.g. Hobo monkey returns 1.25?)
|-
|-
| Fairy Effectiveness
| Fairy Effectiveness
| 0.0
| (?) Only for use with the two-parameter form, taking a familiar as the other parameter. (e.g. Hound dog returns 1.25?)
| (?) Only for use with the two-parameter form, taking a familiar as the other parameter. (e.g. Hound dog returns 1.25?)
|-
|-
| Familiar Weight Cap
| Familiar Weight Cap
| 0.0
| (?) Maximum base weight for the current familiar.
| (?) Maximum base weight for the current familiar.
|-
|-
| Slime Resistance
| Slime Resistance
| 0.0
| Similar to [[elemental_resistance|elemental_resistance( $element[slime] )]], but returns the level of resistance.
|
|-
|-
| Slime Hates It
| Slime Hates It
| 0.0
| Number of Slime Hates It active, as taken from equipment and effects.
| Number of Slime Hates It active, as taken from equipment and effects.
|-
|-
| Maximum HP Nonmultiplied
| Maximum HP Nonmultiplied
| 0.0
| ?
| ?
|-
|-
| Maximum MP Nonmultiplied
| Maximum MP Nonmultiplied
| 0.0
| ?
| ?
|-
|-
| Spell Critical Percent
| Spell Critical Percent
| 0.0
| Increased absolute spell critical rate.
| Increased absolute spell critical rate.
|-
|-
| Muscle Experience
| Muscle Experience
| 0.0
| +X Mus substats/fight
| +X Mus substats/fight
|-
|-
| Mysticality Experience
| Mysticality Experience
| 0.0
| +X Mys substats/fight
| +X Mys substats/fight
|-
|-
| Moxie Experience
| Moxie Experience
| 0.0
| +X Mox substats/fight
| +X Mox substats/fight
|-
|-
| Effect Duration
| Effect Duration
| 0.0
| For use with the two-parameter form, using item as the other parameter. Returns duration of effect for potions.
| For use with the two-parameter form, using item as the other parameter. Returns duration of effect for potions.
|}
|}
Line 373: Line 285:
==Bitmap Modifiers==
==Bitmap Modifiers==
Note: This does not have a corresponding ASH function.
Note: This does not have a corresponding ASH function.
When not logged in, these all return 0x0 (0).
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
!  Modifier Name
!  Modifier Name
!  Default Value
!  Notes
!  Notes
|-
|-
| Clownosity
| Clownosity
| 0x0 (0)
| If this is >= 4, you can "Push the nose" in the Fun House.
| If this is >= 4, you can "Push the nose" in the Fun House.
|-
|-
| Brimstone
| Brimstone
| 0x0 (0)
| These have many "bonuses" when you equip more of them at once.
| These have many "bonuses" when you equip more of them at once.
|-
|-
| Synergetic
| Synergetic
| 0x0 (0)
| (?) Secrets from the future?
| (?) Secrets from the future?
|}
|}


==Boolean Modifiers==
==Boolean Modifiers==
When not logged in, these all return false for the 1-parameter form of [[boolean_modifier|boolean_modifier()]].
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
!  Modifier Name
!  Modifier Name
!  Default Value
!  Notes
!  Notes
|-
|-
| Softcore Only
| Softcore Only
| false
| For use with the parameter "item"; returns true if the item in question has the Softcore Only flag (e.g. Travoltan Trousers).
| For use with the parameter "item"; returns true if the item in question has the Softcore Only flag (e.g. Travoltan Trousers).
|-
|-
| Single Equip
| Single Equip
| false
| For use with the parameter "item"; returns true if the item in question has the Single Equip flag (e.g. plexiglass pendant).
| For use with the parameter "item"; returns true if the item in question has the Single Equip flag (e.g. plexiglass pendant).
|-
|-
| Never Fumble
| Never Fumble
| false
| Returns true if the player has an effect that prevents fumbling.
| Returns true if the player has an effect that prevents fumbling.
|-
|-
| Weakens Monster
| Weakens Monster
| false
| For use with the parameter "item"; returns true if the item in question delevels on hit (e.g. 7-foot dwarven mattock).
| For use with the parameter "item"; returns true if the item in question delevels on hit (e.g. 7-foot dwarven mattock).
|-
|-
| Free Pull
| Free Pull
| false
| For use with the parameter "item"; returns true if the item in question can be pulled from Hagnk's for free (e.g. roll of toilet paper).
| For use with the parameter "item"; returns true if the item in question can be pulled from Hagnk's for free (e.g. roll of toilet paper).
|-
|-
| Variable
| Variable
| false
| For use with the parameter "item"; returns true if the item in question has a variable effect (e.g. depleted grimacite grappling hook).
| For use with the parameter "item"; returns true if the item in question has a variable effect (e.g. depleted grimacite grappling hook).
|-
|-
| Nonstackable Watch
| Nonstackable Watch
| false
| For use with the parameter "item"; returns true if the item in question counts as one of the nonstackable watches (e.g. dead guy's watch).
| For use with the parameter "item"; returns true if the item in question counts as one of the nonstackable watches (e.g. dead guy's watch).
|-
|-
| Cold Immunity
| Cold Immunity
| false
| Returns true if Coldform is active.
| Returns true if Cold Resistance > 0.
|-
|-
| Hot Immunity
| Hot Immunity
| false
| Returns true if Hotform is active.
| Returns true if Hot Resistance > 0.
|-
|-
| Sleaze Immunity
| Sleaze Immunity
| false
| Returns true if Sleazeform is active.
| Returns true if Sleaze Resistance > 0.
|-
|-
| Spooky Immunity
| Spooky Immunity
| false
| Returns true if Spookyform is active.
| Returns true if Spooky Resistance > 0.
|-
|-
| Stench Immunity
| Stench Immunity
| false
| Returns true if Stenchform is active.
| Returns true if Stench Resistance > 0.
|-
|-
| Cold Vulnerability
| Cold Vulnerability
| false
| Returns true if the player is vulnerable to Cold (e.g. from Sleazeform).
| Returns true if the player is vulnerable to Cold (e.g. from various BM-specific noncombats).
|-
|-
| Hot Vulnerability
| Hot Vulnerability
| false
| Returns true if the player is vulnerable to Hot (e.g. from Spookyform).
| Returns true if the player is vulnerable to Hot (e.g. from various BM-specific noncombats).
|-
|-
| Sleaze Vulnerability
| Sleaze Vulnerability
| false
| Returns true if the player is vulnerable to Sleaze (e.g. from Stenchform).
| Returns true if the player is vulnerable to Sleaze (e.g. from Easily Embarrassed).
|-
|-
| Spooky Vulnerability
| Spooky Vulnerability
| false
| Returns true if the player is vulnerable to Spooky (e.g. from Coldform).
| Returns true if the player is vulnerable to Spooky (e.g. from various BM-specific noncombats).
|-
|-
| Stench Vulnerability
| Stench Vulnerability
| false
| Returns true if the player is vulnerable to Stench (e.g. from Hotform).
| Returns true if the player is vulnerable to Stench (e.g. from Flared Nostrils).
|-
|-
| Moxie Controls MP
| Moxie Controls MP
| false
| Returns true if the player has a moxie magnet equipped.
| Returns true if the player has a moxie magnet equipped.
|-
|-
| Moxie May Control MP
| Moxie May Control MP
| false
| Returns true if the player has Travoltan Trousers equipped (but not the moxie magnet?).
| Returns true if the player has Travoltan Trousers equipped (but not the moxie magnet?).
|-
|-
| Four Songs
| Four Songs
| false
| Returns true if the player is able to "Keep 4 songs in [his] head instead of 3" (e.g. Brimstone Beret).
| Returns true if the player is able to "Keep 4 songs in [his] head instead of 3" (e.g. Brimstone Beret).
|-
|-
| Additional Song
| Additional Song
| false
| Returns true if the player has the bonus from the El Hebilla del Cinturón de Lopez (Accordion Thief Epic Accessory).
| Returns true if the player has the bonus from the El Hebilla del Cinturón de Lopez (Accordion Thief Epic Accessory).
|-
|-
| Adventure Underwater
| Adventure Underwater
| false
| Returns true if the player has some way to breathe underwater (e.g. makeshift SCUBA gear).
| Returns true if the player has some way to breathe underwater (e.g. makeshift SCUBA gear).
|-
|-
| Underwater Familiar
| Underwater Familiar
| false
| Returns true if the player's familiar has some way to breathe underwater (e.g. das boot).
| Returns true if the player's familiar has some way to breathe underwater (e.g. das boot).
|}
|}
Line 512: Line 398:
|-
|-
| Modifiers
| Modifiers
|  
| ?
|-
|-
| Outfit
| Outfit
Line 518: Line 404:
|-
|-
| Stat Tuning
| Stat Tuning
| (Crimbo '07 items, like tropical paperweight?)
| (Crimbo '06 items, like tropical paperweight?)
|-
|-
| Familiar Tuning
| Familiar Tuning

Revision as of 05:40, 18 March 2010

Here is a comprehensive list of modifiers calculated by KoLMafia. Note that these are also available as ASH functions -- the first form, which takes one parameter, information about your character's current state; the second form, which takes two parameters, information about the [string|item|effect|skill|familiar] in question.

To view this list of modifiers as it pertains to your character, use the CLI command "modref".

A list of the functions used to access these modifiers can be found at Modifier Functions.

Numeric Modifiers

Note that although some of these functions have an ASH derivative that may be easier to use, the two-parameter form is still relevant and rather useful when obtaining information about a particular [string|item|effect|skill|familiar], rather than your current state.

When not logged in, these all return 0 for the 1-parameter form of numeric_modifier().

Modifier Name Related ASH function / Notes
Familiar Weight weight_adjustment()
Monster Level monster_level_adjustment()
Combat Rate combat_rate_modifier()
Initiative initiative_modifier()
Experience experience_bonus()
Item Drop item_drop_modifier()
Meat Drop meat_drop_modifier()
Damage Absorption raw_damage_absorption()
Damage Reduction damage_reduction()
Cold Resistance Similar to elemental_resistance( $element[cold] ), but returns the level of resistance.
Hot Resistance Similar to elemental_resistance( $element[hot] ), but returns the level of resistance.
Sleaze Resistance Similar to elemental_resistance( $element[sleaze] ), but returns the level of resistance.
Spooky Resistance Similar to elemental_resistance( $element[spooky] ), but returns the level of resistance.
Stench Resistance Similar to elemental_resistance( $element[stench] ), but returns the level of resistance.
Mana Cost Similar to mana_cost_modifier() -- only counts up to the -3 cap.
Moxie Sum of all absolute moxie modifiers.
Moxie Percent Sum of all percentage-based moxie modifiers.
Muscle Sum of all absolute muscle modifiers.
Muscle Percent Sum of all percentage-based muscle modifiers.
Mysticality Sum of all absolute mysticality modifiers.
Mysticality Percent Sum of all percentage-based mysticality modifiers.
Maximum HP Sum of all absolute HP modifiers.
Maximum HP Percent Sum of all percentage-based HP modifiers.
Maximum MP Sum of all absolute MP modifiers.
Maximum MP Percent Sum of all percentage-based MP modifiers.
Weapon Damage Sum of all absolute weapon damage modifiers.
Ranged Damage Sum of all absolute ranged damage modifiers.
Spell Damage Sum of all absolute spell damage modifiers.
Spell Damage Percent Sum of all percentage-based spell damage modifiers.
Cold Damage Total cold damage.
Hot Damage Total hot damage.
Sleaze Damage Total sleaze damage.
Spooky Damage Total spooky damage.
Stench Damage Total stench damage.
Cold Spell Damage Total cold spell damage.
Hot Spell Damage Total hot spell damage.
Sleaze Spell Damage Total sleaze spell damage.
Spooky Spell Damage Total spooky spell damage.
Stench Spell Damage Total stench spell damage.
Critical Critical multiplier.
Fumble Fumble multiplier.
HP Regen Min Lower bound of all HP-regenerating effects/equipment.
HP Regen Max Upper bound of all HP-regenerating effects/equipment.
MP Regen Min Lower bound of all MP-regenerating effects/equipment.
MP Regen Max Upper bound of all MP-regenerating effects/equipment.
Adventures Bonus Rollover adventures
Familiar Weight Percent Percentage modifier of Familiar Weight (from Bad Moon effects; always <= 0)
Weapon Damage Percent Sum of all percentage-based weapon damage modifiers.
Ranged Damage Percent Sum of all percentage-based ranged damage modifiers.
Stackable Mana Cost Similar to mana_cost_modifier() -- all other MP cost modifiers.
Hobo Power Hobo Power from equipment and effects (effect, technically).
Base Resting HP Average HP gained from resting.
Resting HP Percent Percentage modifier to HP gained from resting (e.g. from Pagoda).
Bonus Resting HP Absolute modifier to HP gained from resting (e.g. from Gauze hammock).
Base Resting MP MP gained from resting.
Resting MP Percent Percentage modifier to HP gained from resting (e.g. Pagoda).
Bonus Resting MP Absolute modifier to HP gained from resting (e.g. from Beanbag chair).
Critical Hit Percent Percentage modifiers to critical hits (e.g. Depleted Grimacite Kneecapping stick).
PvP Fights Bonus PvP fights upon Rollover.
Volleyball (?) Only for use with the two-parameter form, taking a familiar as the other parameter.
Sombrero (?) Only for use with the two-parameter form, taking a familiar as the other parameter.
Leprechaun (?) Only for use with the two-parameter form, taking a familiar as the other parameter.
Fairy (?) Only for use with the two-parameter form, taking a familiar as the other parameter.
Meat Drop Penalty Penalty to Meat Drops; result of having an Underwater location selected as your current location.
Hidden Familiar Weight Bonus familiar weight that does not show up on the character pane (e.g. from Temporary Teardrop Tattoo).
Item Drop Penalty Penalty to Item Drops; result of having an Underwater location selected as your current location.
Initiative Penalty Penalty to Initiative Drops; result of having an Underwater location selected as your current location.
Food Drop Exclusive bonus to food drops (e.g. Brother Flying Burrito's Blessing).
Booze Drop Exclusive bonus to food drops (e.g. Brother Smother's Blessing).
Hat Drop Exclusive bonus to hat drops (e.g. velcro broadsword).
Weapon Drop Exclusive bonus to weapon drops (e.g. velcro broadsword).
Offhand Drop Exclusive bonus to offhand drops (e.g. velcro broadsword).
Shirt Drop Exclusive bonus to shirt drops (e.g. velcro broadsword).
Pants Drop Exclusive bonus to weapon drops (e.g. Baneful Bandolier).
Accessory Drop Exclusive bonus to weapon drops (e.g. velcro paddle ball).
Volleyball Effectiveness (?) Only for use with the two-parameter form, taking a familiar as the other parameter.
Sombrero Effectiveness (?) Only for use with the two-parameter form, taking a familiar as the other parameter. (e.g. Llama returns .5?)
Leprechaun Effectiveness (?) Only for use with the two-parameter form, taking a familiar as the other parameter. (e.g. Hobo monkey returns 1.25?)
Fairy Effectiveness (?) Only for use with the two-parameter form, taking a familiar as the other parameter. (e.g. Hound dog returns 1.25?)
Familiar Weight Cap (?) Maximum base weight for the current familiar.
Slime Resistance Similar to elemental_resistance( $element[slime] ), but returns the level of resistance.
Slime Hates It Number of Slime Hates It active, as taken from equipment and effects.
Maximum HP Nonmultiplied ?
Maximum MP Nonmultiplied ?
Spell Critical Percent Increased absolute spell critical rate.
Muscle Experience +X Mus substats/fight
Mysticality Experience +X Mys substats/fight
Moxie Experience +X Mox substats/fight
Effect Duration For use with the two-parameter form, using item as the other parameter. Returns duration of effect for potions.

Bitmap Modifiers

Note: This does not have a corresponding ASH function. When not logged in, these all return 0x0 (0).

Modifier Name Notes
Clownosity If this is >= 4, you can "Push the nose" in the Fun House.
Brimstone These have many "bonuses" when you equip more of them at once.
Synergetic (?) Secrets from the future?

Boolean Modifiers

When not logged in, these all return false for the 1-parameter form of boolean_modifier().

Modifier Name Notes
Softcore Only For use with the parameter "item"; returns true if the item in question has the Softcore Only flag (e.g. Travoltan Trousers).
Single Equip For use with the parameter "item"; returns true if the item in question has the Single Equip flag (e.g. plexiglass pendant).
Never Fumble Returns true if the player has an effect that prevents fumbling.
Weakens Monster For use with the parameter "item"; returns true if the item in question delevels on hit (e.g. 7-foot dwarven mattock).
Free Pull For use with the parameter "item"; returns true if the item in question can be pulled from Hagnk's for free (e.g. roll of toilet paper).
Variable For use with the parameter "item"; returns true if the item in question has a variable effect (e.g. depleted grimacite grappling hook).
Nonstackable Watch For use with the parameter "item"; returns true if the item in question counts as one of the nonstackable watches (e.g. dead guy's watch).
Cold Immunity Returns true if Coldform is active.
Hot Immunity Returns true if Hotform is active.
Sleaze Immunity Returns true if Sleazeform is active.
Spooky Immunity Returns true if Spookyform is active.
Stench Immunity Returns true if Stenchform is active.
Cold Vulnerability Returns true if the player is vulnerable to Cold (e.g. from Sleazeform).
Hot Vulnerability Returns true if the player is vulnerable to Hot (e.g. from Spookyform).
Sleaze Vulnerability Returns true if the player is vulnerable to Sleaze (e.g. from Stenchform).
Spooky Vulnerability Returns true if the player is vulnerable to Spooky (e.g. from Coldform).
Stench Vulnerability Returns true if the player is vulnerable to Stench (e.g. from Hotform).
Moxie Controls MP Returns true if the player has a moxie magnet equipped.
Moxie May Control MP Returns true if the player has Travoltan Trousers equipped (but not the moxie magnet?).
Four Songs Returns true if the player is able to "Keep 4 songs in [his] head instead of 3" (e.g. Brimstone Beret).
Additional Song Returns true if the player has the bonus from the El Hebilla del Cinturón de Lopez (Accordion Thief Epic Accessory).
Adventure Underwater Returns true if the player has some way to breathe underwater (e.g. makeshift SCUBA gear).
Underwater Familiar Returns true if the player's familiar has some way to breathe underwater (e.g. das boot).

String Modifiers

Note: These all appear in the two-parameter form.

Modifier Name Notes
Class ?
Intrinsic Effect Returns the intrinsic effect granted by a piece of equipment (e.g. Chapped Legs from leather chaps).
Equalize (something with potion equalizers?)
Wiki Name Returns an empty string unless it is different, in which case the special HTML entities have been replaced. (e.g. frigid hankyu)
Modifiers ?
Outfit Returns the name of the outfit (non-custom, folks!) that this item is part of.
Stat Tuning (Crimbo '06 items, like tropical paperweight?)
Familiar Tuning (Bandersnatch equips?)
Effect Returns the effect associated with a potion.


Attention KoLmafia Experts!

We need your help; some details of this function's operation are unknown or unclear.

The following specific questions have been raised:

  • Can someone check to make sure that I didn't screw up?
  • Also, fill in the missing data?