Anonymous

Module:Constants: Difference between revisions

From Melvor Idle
Update modifiers for v1.0
(added isIncreaseNegative = true to Agility Build cost and Coal Costs)
(Update modifiers for v1.0)
Line 10: Line 10:
   ["MeleeStrengthBonus"] = { text = "{V}% Melee Strength Bonus", skills = {'Combat'} },
   ["MeleeStrengthBonus"] = { text = "{V}% Melee Strength Bonus", skills = {'Combat'} },
   ["DamageToDungeonMonsters"] = { text = "{V}% Damage To Dungeon Monsters", skills = {'Combat'} },
   ["DamageToDungeonMonsters"] = { text = "{V}% Damage To Dungeon Monsters", skills = {'Combat'} },
   ["GlobalMasteryXP"] = { text = "{V}% Global Mastery XP", skills = {'Woodcutting', 'Fishing', 'Firemaking', 'Cooking', 'Mining', 'Smithing', 'Thieving', 'Farming', 'Fletching', 'Crafting', 'Runecrafting', 'Herblore', 'Agility', 'Summoning'} },
   ["GlobalMasteryXP"] = { text = "{V}% Global Mastery XP", skills = {'Woodcutting', 'Fishing', 'Firemaking', 'Cooking', 'Mining', 'Smithing', 'Thieving', 'Farming', 'Fletching', 'Crafting', 'Runecrafting', 'Herblore', 'Agility', 'Summoning'} }, -- TODO Astrology
   ["ChanceRandomPotionHerblore"] = { text = "{V}% chance to gain a second potion of a random tier", skills = {'Herblore'} },
   ["ChanceRandomPotionHerblore"] = { text = "{V}% chance to gain a second potion of a random tier", skills = {'Herblore'} },
   ["FlatPrayerCostReduction"] = { text = "{V} Prayer Point Cost for Prayers", inverseSign = true, skills = {'Prayer'} },
   ["FlatPrayerCostReduction"] = { text = "{V} Prayer Point Cost for Prayers", inverseSign = true, skills = {'Prayer'} },
Line 105: Line 105:
   ["summoningSynergy_0_12"] = {text = "Upon killing a Slayer Task Enemy, grants {V}% GP.", skills = {"Combat"}},
   ["summoningSynergy_0_12"] = {text = "Upon killing a Slayer Task Enemy, grants {V}% GP.", skills = {"Combat"}},
   ["summoningSynergy_0_13"] = {text = "Upon being hit by an Enemy, grants GP equal to ({V} * Your Damage Reduction). This can only proc once every Enemy Attack Turn.", skills = {"Combat"}},
   ["summoningSynergy_0_13"] = {text = "Upon being hit by an Enemy, grants GP equal to ({V} * Your Damage Reduction). This can only proc once every Enemy Attack Turn.", skills = {"Combat"}},
   ["summoningSynergy_0_14"] = {text = "Every time you regenerate Hitpoints (Not eating), grants GP equal to (${1000/numberMultiplier} * Hitpoints Regenerated).", skills = {"Combat"}},
   ["summoningSynergy_0_14"] = {text = "{VX100}% of regenerated health gained as GP", skills = {"Combat"}},
   ["summoningSynergy_0_15"] = {text = "Upon killing an Enemy that is BURNING, grants {V}% GP.", skills = {"Combat"}},
   ["summoningSynergy_0_15"] = {text = "Upon killing an Enemy that is BURNING, grants {V}% GP.", skills = {"Combat"}},
   ["summoningSynergy_1_2"] = {text = "When player has full HP, effects from the Occultist Familiar are tripled.", skills = {"Combat"}},
   ["summoningSynergy_1_2"] = {text = "When player has full HP, effects from the Occultist Familiar are tripled.", skills = {"Combat"}},
Line 159: Line 159:
   ["summoningSynergy_10_11"] = {text = "Successfully pickpocketting the Miner in Thieving will now grant {V} Rune Essence.", skills = {'Thieving'}},
   ["summoningSynergy_10_11"] = {text = "Successfully pickpocketting the Miner in Thieving will now grant {V} Rune Essence.", skills = {'Thieving'}},
   ["summoningSynergy_10_16"] = {text = "{V}% chance to double when creating Leather, Hard Leather or Dragonhide Armour in Crafting.", skills = {'Crafting'}},
   ["summoningSynergy_10_16"] = {text = "{V}% chance to double when creating Leather, Hard Leather or Dragonhide Armour in Crafting.", skills = {'Crafting'}},
   ["summoningSynergy_10_17"] = {text = "This modifier exists in the game code but doesn't do anything."},
   ["summoningSynergy_10_17"] = {text = "{V}% Smithing & Runecrafting Preservation Chance."},
   ["summoningSynergy_10_18"] = {text = "While the Elemental Potion is active in Runecrafting, grants a chance to get random Combination Runes. The chance and quantity is equal to that of the Elemental Potion.", skills = {'Runecrafting'}},
   ["summoningSynergy_10_18"] = {text = "While the Elemental Potion is active in Runecrafting, grants a chance to get random Combination Runes. The chance and quantity is equal to that of the Elemental Potion.", skills = {'Runecrafting'}},
   ["summoningSynergy_10_19"] = {text = "Grants {V} Fire Runes while creating Elemental Runes.", skills = {'Runecrafting'}},
   ["summoningSynergy_10_19"] = {text = "Grants {V} Fire Runes while creating Elemental Runes.", skills = {'Runecrafting'}},
Line 200: Line 200:
   ["bypassSlayerItems"] = { text = "Bypass Slayer Area item requirements", skills = {'Slayer'} },
   ["bypassSlayerItems"] = { text = "Bypass Slayer Area item requirements", skills = {'Slayer'} },
   ["ChanceToConvertSeedDrops"] = { text = "{V}% chance to convert combat seed drops to herbs", skills = {'Combat'} },
   ["ChanceToConvertSeedDrops"] = { text = "{V}% chance to convert combat seed drops to herbs", skills = {'Combat'} },
  ["CombatStoppingThreshold"] = { text = "{V}% automatic combat stopping threshold", skills = {'Combat'} },
   ["CompostPreservationChance"] = { text = "{V}% Chance to preserve Compost or Weird Gloop applied to Farming Plots when harvesting", skills = {'Farming'} },
   ["CompostPreservationChance"] = { text = "{V}% Chance to preserve Compost or Weird Gloop applied to Farming Plots when harvesting", skills = {'Farming'} },
   ["Confusion"] = { text = "Take {V}% of remaining HP as damage on a succesful attack", isIncreaseNegative = true, skills = {'Combat'} },
   ["Confusion"] = { text = "Take {V}% of remaining HP as damage on a succesful attack", isIncreaseNegative = true, skills = {'Combat'} },
Line 231: Line 230:
   ["itemProtection"] = { text = "Items are not lost on death", skills = {'Combat'} },
   ["itemProtection"] = { text = "Items are not lost on death", skills = {'Combat'} },
   ["MagicCritChance"] = { text = "{V}% Magic critical hit chance", skills = {'Magic'} },
   ["MagicCritChance"] = { text = "{V}% Magic critical hit chance", skills = {'Magic'} },
  ["MagicCritMult"] = { text = "{V}% Magic critical hit multiplier", skills = {'Magic'} },
   ["MagicLifesteal"] = { text = "{V}% Magic lifesteal", skills = {'Magic'} },
   ["MagicLifesteal"] = { text = "{V}% Magic lifesteal", skills = {'Magic'} },
   ["MagicMaxHit"] = { text = "{V}% Magic Max Hit", skills = {'Magic'} },
   ["MagicMaxHit"] = { text = "{V}% Magic Max Hit", skills = {'Magic'} },
Line 241: Line 239:
   ["MaxWaterSpellDmg"] = { text = "{MX} Max Water Spell Dmg", skills = {'Magic'} },
   ["MaxWaterSpellDmg"] = { text = "{MX} Max Water Spell Dmg", skills = {'Magic'} },
   ["MeleeCritChance"] = { text = "{V}% Melee critical hit chance", skills = {'Combat'} },
   ["MeleeCritChance"] = { text = "{V}% Melee critical hit chance", skills = {'Combat'} },
  ["MeleeCritMult"] = { text = "{V}% Melee critical hit multiplier", skills = {'Combat'} },
   ["MeleeLifesteal"] = { text = "{V}% Melee Lifesteal", skills = {'Combat'} },
   ["MeleeLifesteal"] = { text = "{V}% Melee Lifesteal", skills = {'Combat'} },
   ["MeleeMaxHit"] = { text = "{V}% Melee Max Hit", skills = {'Combat'} },
   ["MeleeMaxHit"] = { text = "{V}% Melee Max Hit", skills = {'Combat'} },
Line 252: Line 249:
   ["PrayerCost"] = { text = "{V}% Prayer Point Cost for Prayers", isIncreaseNegative = true, skills = {'Prayer'} },
   ["PrayerCost"] = { text = "{V}% Prayer Point Cost for Prayers", isIncreaseNegative = true, skills = {'Prayer'} },
   ["RangedCritChance"] = { text = "{V}% Ranged critical hit chance", skills = {'Ranged'} },
   ["RangedCritChance"] = { text = "{V}% Ranged critical hit chance", skills = {'Ranged'} },
  ["RangedCritMult"] = { text = "{V}% Ranged critical hit multiplier", skills = {'Ranged'} },
   ["RangedLifesteal"] = { text = "{V}% Ranged Lifesteal", skills = {'Ranged'} },
   ["RangedLifesteal"] = { text = "{V}% Ranged Lifesteal", skills = {'Ranged'} },
   ["RangedMaxHit"] = { text = "{V}% Ranged Max Hit", skills = {'Ranged'} },
   ["RangedMaxHit"] = { text = "{V}% Ranged Max Hit", skills = {'Ranged'} },
Line 280: Line 276:
   ["masteryToken"] = { text = "Grants Mastery Pool XP equal to {V}% of the maximum Mastery Pool XP for the respective skill",
   ["masteryToken"] = { text = "Grants Mastery Pool XP equal to {V}% of the maximum Mastery Pool XP for the respective skill",
     skills = {'Woodcutting', 'Fishing', 'Firemaking', 'Cooking', 'Mining', 'Smithing', 'Thieving', 'Farming',
     skills = {'Woodcutting', 'Fishing', 'Firemaking', 'Cooking', 'Mining', 'Smithing', 'Thieving', 'Farming',
             'Fletching', 'Crafting', 'Runecrafting', 'Herblore', 'Agility', 'Summoning'} },
             'Fletching', 'Crafting', 'Runecrafting', 'Herblore', 'Agility', 'Summoning'} }, -- TODO Astrology
   ["MinThievingGP"] = { text = "{V}% minimum GP from Thieving", skills = {'Thieving'} },
   ["MinThievingGP"] = { text = "{V}% minimum GP from Thieving", skills = {'Thieving'} },
   ["RunecraftingEssencePreservation"] = { text = "{V}% chance to preserve resources when Runecrafting runes", skills = {'Runecrafting'} },
   ["RunecraftingEssencePreservation"] = { text = "{V}% chance to preserve resources when Runecrafting runes", skills = {'Runecrafting'} },
   ["SummoningMaxHit"] = { text = "{V}% Summoning Max Hit", skills = {'Combat'} },
   ["SummoningMaxHit"] = { text = "{V}% Summoning Max Hit", skills = {'Combat'} },
   ["ThievingStealth"] = { text = "{V} Stealth while Thieving", skills = {'Thieving'} },
   ["ThievingStealth"] = { text = "{V} Stealth while Thieving", skills = {'Thieving'} },
   -- The below are not present in 0.21 but are left here for now until everything is fully-migrated to 0.21
   -- 1.0 Modifiers
   ["ChanceToDoubleItems"] = { text = "{V}% Chance To Double Items" },
   ["AfflictionChance"] = { text = "{V}% chance to apply affliction when attacking", skills = {'Combat'} },
   ["ChanceToDoubleLootThieving"] = { text = "{V}% Chance To Double Loot in Thieving", skills = {'Thieving'} },
  ["allowLootContainerStacking"] = { text = "Items other than bones stack within the loot container", skills = {'Combat'} },
   ["EnemyMeleeEvasion"] = { text = "{V}% Enemy Melee Evasion", isIncreaseNegative = true, skills = {'Combat'} },
   ["BaseStardustDropQty"] = { text = "{V}% to base drop quantity of Stardust and Golden Stardust from Astrology", skills = {''} }, -- TODO Astrology
   ["EnemyRangedEvasion"] = { text = "{V}% Enemy Ranged Evasion", isIncreaseNegative = true, skills = {'Combat'} },
   ["BleedReflectChance"] = { text = "{V}% chance to inflict a bleed that does 100% of the attack's damage to attackers when hit", skills = {'Combat'} },
   ["EnemyMagicEvasion"] = { text = "{V}% Enemy Magic Evasion", isIncreaseNegative = true, skills = {'Combat'} },
   ["ChanceForDiamondFiremaking"] = { text = "{V}% chance to receive a Diamond per action in Firemaking (Cannot be doubled)", skills = {'Firemaking'} },
   ["MaxStamina"] = { text = "{V} Max Stamina" },
   ["ChanceToApplyFrostburn"] = { text = "{V}% chance to apply Frostburn when attacking", skills = {'Combat'} },
   ["PlayerAttackSpeed"] = { text = "{VMS}s Player Attack Speed", isIncreaseNegative = true, skills = {'Combat'} },
   ["ChanceToApplyPoison"] = { text = "{V}% chance to apply Poison when hitting with an attack", skills = {'Combat'} },
   ["PlayerAttackSpeedPercent"] = { text = "{V}% Player Attack Speed", isIncreaseNegative = true, skills = {'Combat'} },
   ["ChanceToIncreaseStunDuration"] = { text = "{V}% chance to increase the length of stuns inflicted by 1 turn", skills = {'Combat'} },
   ["PreservationChance"] = { text = "{V}% Chance to Preserve Resources" },
   ["ChanceToPreserveFood"] = { text = "{V}% chance to Preserve Food when eaten", skills = {'Combat'} },
   ["SlayerXP"] = { text = "{V}% Slayer XP", skills = {'Slayer'} },
   ["ElementalEffectChance"] = { text = "{V}% chance to apply Burn, Frostburn or Freeze when hitting with a Magic attack (once per turn)", skills = {'Combat'} },
   ["StaminaCost"] = { text = "{V} Stamina Cost per action", isIncreaseNegative = true },
   ["EndOfTurnHealing2"] = { text = "{V}% of current hitpoints every 2 turns", skills = {'Combat'} },
   ["StaminaPerObstacle"] = { text = "{V} Stamina per Agility Obstacle Completion", skills = {'Agility'} },
   ["EndOfTurnHealing3"] = { text = "{V}% of current hitpoints every 3 turns", skills = {'Combat'} },
   ["StaminaPreservationChance"] = { text = "{V}% Chance to Preserve Stamina" },
   ["EndOfTurnHealing5"] = { text = "{V}% of current hitpoints every 5 turns", skills = {'Combat'} },
   ["summoningSynergy_12_15"] = {text = "You take {V}% less damage from Dragonbreath Special Attacks.", skills = {"Combat"}},
  ["freeProtectItem"] = { text = "The Protect Item Prayer costs nothing", skills = {'Prayer'} },
   ["summoningSynergy_13_15"] = {text = "You take no damage from BURNING.", skills = {"Combat"}},
   ["frostBurnImmunity"] = { text = "{V}% chance to ignore Frostburn", skills = {'Combat'} },
   ["summoningSynergy_14_15"] = {text = "You now heal for all BURNING damage you or the Dragon Familiar applies.", skills = {"Combat", 'Magic'}},
   ["globalEvasionHPScaling"] = { text = "Evasion Ratings are multiplied by {V} times current Hitpoints percent", skills = {'Combat'} },
   ["summoningSynergy_2_6"] = {text = "If using a Melee Attack Style, grants {V}% Lifesteal.", skills = {"Combat", 'Melee'}},
   ["infiniteLootContainer"] = { text = "The loot container has an infinite amount of slots", skills = {'Combat'} },
   ["summoningSynergy_2_7"] = {text = "If using a Ranged Attack Style, grants {V}% Lifesteal.", skills = {"Combat", 'Ranged'}},
   ["magicImmunity"] = { text = "Immune to Magic attacks", skills = {'Combat'} },
   ["summoningSynergy_2_8"] = {text = "If using a Magic Attack Style, grants {V}% Lifesteal.", skills = {"Combat", 'Magic'}},
  ["meleeImmunity"] = { text = "Immune to Melee attacks", skills = {'Combat'} },
   ["summoningSynergy_2_14"] = {text = "{V}% Lifesteal from Bleed damage.", skills = {"Combat", 'Melee'}},
   ["MeleeStunChance"] = { text = "{V}% chance to stun when hitting with a Melee attack (once per turn)", skills = {'Combat'} },
   -- The below are not present in 0.22 but are left here for now until everything is fully-migrated to 0.22
  ["MinNatureSpellDamageBasedOnMaxHit"] = { text = "{V}% of Maximum Hit added to Minimum Hit when using Nature spells", skills = {'Combat'} },
   ["FoodBurnChance"] = { text = "{V}% chance to burn food when Cooking", isIncreaseNegative = true, skills = {'Cooking'} },
  ["NonMagicPoisonChance"] = { text = "{V}% chance to apply poison when hitting with a Melee or Ranged attack", skills = {'Combat'} },
   ["summoningSynergy_9_10"] = {text = "{V}% chance to preserve resources in Cooking, and when creating Runes in Runecrafting.", skills = {'Runecrafting'}},
   ["OnHitSlowMagnitude"] = { text = "Inflict a slow that increases the target's attack interval by {V}% when hitting with an attack", skills = {'Combat'} },
   ["ThievingSuccessCap"] = { text = "{V}% Thieving Success Rate Cap", skills = {'Thieving'} },
  ["otherStyleImmunity"] = { text = "Immune to all attack types other than their own", skills = {'Combat'} },
   ["ThievingSuccessRate"] = { text = "{V}% Thieving Success Rate", skills = {'Thieving'} },
  ["PoisonReflectChance"] = { text = "{V}% chance to poison attackers when hit", skills = {'Combat'} },
  ["rangedImmunity"] = { text = "Immune to Ranged attacks", skills = {'Combat'} },
   ["RegenerationInterval"] = { text = "{V}% Hitpoint Regeneration interval", skills = {'Combat'} },
  ["slowImmunity"] = { text = "{V}% chance to ignore Slow effects", skills = {'Combat'} },
  ["SurgeSpellAccuracy"] = { text = "{V}% Accuracy Rating when using Surge spells", skills = {'Combat'} },
   ["SurgeSpellMaxHit"] = { text = "{V}% Max Hit when using Surge spells", skills = {'Combat'} },
  ["TotalBleedDamage"] = { text = "{VX} total damage to bleeds inflicted", skills = {'Combat'} },
   -- The below are not present in 1.0 but are left here for now until everything is fully-migrated to 1.0
   ["CombatStoppingThreshold"] = { text = "{V}% automatic combat stopping threshold", skills = {'Combat'} },
   ["MagicCritMult"] = { text = "{V}% Magic critical hit multiplier", skills = {'Magic'} },
   ["MeleeCritMult"] = { text = "{V}% Melee critical hit multiplier", skills = {'Combat'} },
   ["RangedCritMult"] = { text = "{V}% Ranged critical hit multiplier", skills = {'Ranged'} },
}
}