Editing Module:ItemTablesGive feedback
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 5: | Line 5: | ||
local GameData = require("Module:GameData") | local GameData = require("Module:GameData") | ||
local friendly_to_internal = {} | local friendly_to_internal = {} | ||
friendly_to_internal["ammo"] = { "BonusClipSizePercent", "BonusClipSize", "ActiveReloadPercent" } | friendly_to_internal["ammo"] = { "BonusClipSizePercent", "BonusClipSize", "ActiveReloadPercent" } | ||
| Line 18: | Line 17: | ||
friendly_to_internal["spirit resist reduction"] = { "TechArmorDamageReduction", "MagicResistReduction" } | friendly_to_internal["spirit resist reduction"] = { "TechArmorDamageReduction", "MagicResistReduction" } | ||
friendly_to_internal["bonus health"] = { "BonusHealth" } | friendly_to_internal["bonus health"] = { "BonusHealth" } | ||
friendly_to_internal["health regen"] = { "BonusHealthRegen" } | friendly_to_internal["health regen"] = { "BonusHealthRegen" } | ||
friendly_to_internal["regeneration"] = { "Regeneration" } | friendly_to_internal["regeneration"] = { "Regeneration" } | ||
| Line 32: | Line 30: | ||
friendly_to_internal["move speed"] = { "BonusMoveSpeed", "ActiveBonusMoveSpeed", "FervorMovespeed",} | friendly_to_internal["move speed"] = { "BonusMoveSpeed", "ActiveBonusMoveSpeed", "FervorMovespeed",} | ||
friendly_to_internal["sprint speed"] = { "BonusSprintSpeed", "InvisMoveSpeedMod" } | friendly_to_internal["sprint speed"] = { "BonusSprintSpeed", "InvisMoveSpeedMod" } | ||
friendly_to_internal["movement slow"] = { "SlowPercent", "MovementSpeedSlow | friendly_to_internal["movement slow"] = { "SlowPercent", "MovementSpeedSlow" } | ||
friendly_to_internal["reload time"] = { "ReloadSpeedMultipler" } | friendly_to_internal["reload time"] = { "ReloadSpeedMultipler" } | ||
friendly_to_internal["heavy melee distance"] = { "MeleeDistanceScale" } | friendly_to_internal["heavy melee distance"] = { "MeleeDistanceScale" } | ||
| Line 46: | Line 44: | ||
friendly_to_internal["item cooldown reduction"] = { "ItemCooldownReduction" } | friendly_to_internal["item cooldown reduction"] = { "ItemCooldownReduction" } | ||
friendly_to_internal["charge cooldown reduction"] = { "CooldownReductionOnChargedAbilities" } | friendly_to_internal["charge cooldown reduction"] = { "CooldownReductionOnChargedAbilities" } | ||
friendly_to_internal["debuff resist"] = { "StatusResistancePercent | friendly_to_internal["debuff resist"] = { "StatusResistancePercent" } | ||
friendly_to_internal["ability range"] = { "TechRangeMultiplier", "ImbuedTechRangeMultiplier"} | friendly_to_internal["ability range"] = { "TechRangeMultiplier", "ImbuedTechRangeMultiplier"} | ||
friendly_to_internal["falloff range"] = { "BonusAttackRangePercent" } | friendly_to_internal["falloff range"] = { "BonusAttackRangePercent" } | ||
| Line 53: | Line 51: | ||
friendly_to_internal["dash distance"] = { "GroundDashReductionPercent", "AirMoveIncreasePercent" } | friendly_to_internal["dash distance"] = { "GroundDashReductionPercent", "AirMoveIncreasePercent" } | ||
friendly_to_internal["damage reduction"] = { "OutgoingDamagePenaltyPercent", "DeathImmunityDamageReduction" } | friendly_to_internal["damage reduction"] = { "OutgoingDamagePenaltyPercent", "DeathImmunityDamageReduction" } | ||
-- Override dead/hidden stats that exist in data but don't actually work in‑game. | -- Override dead/hidden stats that exist in data but don't actually work in‑game. | ||
| Line 59: | Line 56: | ||
local deadStatOverrides = { | local deadStatOverrides = { | ||
["Witchmail"] = { CooldownReduction = "0" }, | ["Witchmail"] = { CooldownReduction = "0" }, | ||
["Refresher"] = { BulletResist = "0", TechResist = "0" } | ["Refresher"] = { BulletResist = "0", TechResist = "0" } | ||
} | } | ||
| Line 118: | Line 112: | ||
"SlideScale", | "SlideScale", | ||
"StaminaCooldownReduction", | "StaminaCooldownReduction", | ||
"SlowPercent", "MovementSpeedSlow | "SlowPercent", "MovementSpeedSlow", | ||
"HealAmpReceivePenaltyPercent", "HealAmpRegenPenaltyPercent", | "HealAmpReceivePenaltyPercent", "HealAmpRegenPenaltyPercent", | ||
"ImbuedBonusDuration", "NonImbuedBonusDuration", "BonusAbilityDurationPercent", | "ImbuedBonusDuration", "NonImbuedBonusDuration", "BonusAbilityDurationPercent", | ||
| Line 130: | Line 124: | ||
"TechDamageReduction", | "TechDamageReduction", | ||
"OutgoingDamagePenaltyPercent", "DeathImmunityDamageReduction", "TechPowerPercent", | "OutgoingDamagePenaltyPercent", "DeathImmunityDamageReduction", "TechPowerPercent", | ||
"GroundDashReductionPercent", "AirMoveIncreasePercent | "GroundDashReductionPercent", "AirMoveIncreasePercent" | ||
}, | }, | ||
["m/s"] = { "BonusMoveSpeed", "ActiveBonusMoveSpeed", "BonusSprintSpeed", "FervorMovespeed", "InvisMoveSpeedMod" }, | ["m/s"] = { "BonusMoveSpeed", "ActiveBonusMoveSpeed", "BonusSprintSpeed", "FervorMovespeed", "InvisMoveSpeedMod" }, | ||
| Line 290: | Line 282: | ||
local disclaimer = frame:preprocess( | local disclaimer = frame:preprocess( | ||
'<div class="item-stat-table-disclaimer">' | '<div class="item-stat-table-disclaimer">' | ||
.. | .. "This is an automatic list. " | ||
.. | .. "[" .. tostring(edit_url) .. " Click here]" | ||
.. | .. " to correct the contents." | ||
.. | .. "</div>" | ||
) | ) | ||