Module:AbilityTable/Lists: Difference between revisions

Jump to navigation Jump to search
Vergir (talk | contribs)
Lists: rename props to lists, 1 list per line, add descriptive comments above each list (with help from vergir-bot LLM)
Vergir (talk | contribs)
Lists: revert to single table format, add descriptive comments, alphabetical prop ordering with raw ability names last (with help from vergir-bot LLM)
Line 1: Line 1:
-- Abilities that have or gain charges on upgrades
local lists = {
local charges = { "AbilityCharges" }


-- Abilities that scale with melee damage
    -- Abilities that have or gain charges on upgrades
local melee = { "melee", "heavy_melee" }
    ["charges"] = { "AbilityCharges" },


-- Abilities that scale with weapon damage
    -- Abilities that scale with melee damage
local wpndmg = { "weapon_damage_increase" }
    ["melee"] = { "heavy_melee", "melee" },


-- Abilities that reduce healing on their targets
    -- Abilities that scale with weapon damage
local healreduce = { "HealAmpReceivePenaltyPercent", "HealAmpRegenPenaltyPercent", "DisableHealing" }
    ["wpndmg"] = { "weapon_damage_increase" },


-- Abilities whose debuff duration is reduced by Debuff Reducer
    -- Abilities that reduce healing on their targets
local debuffresist = { "StunDuration", "SleepDuration", "SilenceDuration", "SilenceDebuff", "PetrifyDuration", "HexDuration", "ImmobilizeDuration", "LiftDuration", "DebuffDuration", "HoldInPlaceDuration", "ExplodeDebuffDuration", "SlowPercent", "DebuffAccuracy", "TimeSlowDuration", "LateCheckoutStun", "BulletDamageAmpDuration", "BulletResistReduction", "BurnDuration", "EnemySlowPct", "MoveSlowPercent", "GroundDashReductionPercent", "StealDuration", "MaxSlowDuration", "EffectDuration", "BleedDuration", "VenomDuration", "TossDuration", "VictimStackDuration", "MovementSpeedSlow", "MovementSlowPct", "HealAmpReceivePenaltyPercent", "Life Drain", "Combo", "Light Eater", "Spirit Lasso", "Card Trick", "Stalker's Mark" }
    ["healreduce"] = {
        "DisableHealing", "HealAmpReceivePenaltyPercent", "HealAmpRegenPenaltyPercent",
    },
 
    -- Abilities whose debuff duration is reduced by Debuff Reducer
    ["debuffresist"] = {
        "BleedDuration", "BulletDamageAmpDuration", "BulletResistReduction", "BurnDuration", "DebuffAccuracy", "DebuffDuration",
        "EffectDuration", "EnemySlowPct", "ExplodeDebuffDuration", "GroundDashReductionPercent", "HealAmpReceivePenaltyPercent", "HexDuration",
        "HoldInPlaceDuration", "ImmobilizeDuration", "LateCheckoutStun", "LiftDuration", "MaxSlowDuration", "MoveSlowPercent",
        "MovementSlowPct", "MovementSpeedSlow", "PetrifyDuration", "SilenceDebuff", "SilenceDuration", "SleepDuration",
        "SlowPercent", "StealDuration", "StunDuration", "TimeSlowDuration", "TossDuration", "VenomDuration", "VictimStackDuration",
        "Card Trick", "Combo", "Life Drain", "Light Eater", "Stalker's Mark", "Spirit Lasso",
    },
 
    -- Abilities that apply a movement slow to their targets
    ["moveslow"] = {
        "ClubSlowPercent", "EnemySlowPct", "MaxSlowPercent", "MovementSlow", "MovementSlowPct", "MovementSpeedSlow",
        "MoveSlowPercent", "MoveSpeedPenaltyPerStack", "MoveSpeedSlowPct", "SlowPercent",
    },


-- Abilities that apply a movement slow to their targets
    -- Abilities that apply a dash slow to their targets
local moveslow = { "SlowPercent", "EnemySlowPct", "MoveSlowPercent", "MaxSlowPercent", "MoveSpeedSlowPct", "MovementSpeedSlow", "MovementSlowPct", "ClubSlowPercent", "MoveSpeedPenaltyPerStack", "MovementSlow" }
    ["dashslow"] = {
        "EnemyDashSlowPercent", "GroundDashReductionPercent", "MaxGroundDashReductionPercent", "MoveSpeedAndDashSlowPct",
    },


-- Abilities that apply a dash slow to their targets
    -- Abilities that trigger Reactive Barrier on their targets (WIP)
local dashslow = { "GroundDashReductionPercent", "MaxGroundDashReductionPercent", "MoveSpeedAndDashSlowPct", "EnemyDashSlowPercent" }
    ["reactivebarrier"] = {
        "HexDuration", "HoldInPlaceDuration", "ImmobilizeDuration", "LiftDuration", "PetrifyDuration", "PullDownDuration",
        "PullDuration", "RestrictionDuration", "SilenceDebuff", "SilenceDuration", "SleepDuration", "StunDuration",
        "Dazzling Trick", "Ground Strike", "Hotel Guest", "Itani Lo Sahn",
    },


-- Abilities that trigger Reactive Barrier on their targets (WIP)
    -- Abilities whose debuffs can be cleansed by Dispel Magic
local reactivebarrier = { "StunDuration", "SleepDuration", "SilenceDuration", "SilenceDebuff", "PetrifyDuration", "HexDuration", "ImmobilizeDuration", "LiftDuration", "HoldInPlaceDuration", "RestrictionDuration", "PullDuration", "PullDownDuration", "Itani Lo Sahn", "Dazzling Trick", "Ground Strike", "Hotel Guest" }
    ["dispelmagic"] = {
        "BleedDuration", "BulletDamageAmpDuration", "BulletResistReduction", "BurnDuration", "DebuffAccuracy", "DebuffDuration",
        "EffectDuration", "EnemySlowPct", "ExplodeDebuffDuration", "GroundDashReductionPercent", "HoldInPlaceDuration", "ImmobilizeDuration",
        "LiftDuration", "MaxSlowDuration", "MoveSlowPercent", "RestrictionDuration", "SilenceDebuff", "SilenceDuration",
        "SlowDuration", "SlowPercent", "StealDuration", "TimeSlowDuration", "VenomDuration",
        "Card Trick", "Essence Theft", "Life Drain", "Light Eater", "Luggage Cart", "Sticky Bomb",
    },


-- Abilities whose debuffs can be cleansed by Dispel Magic
    -- Abilities that restore health, buffed by Heal Amp items
local dispelmagic = { "SilenceDuration", "SilenceDebuff", "ImmobilizeDuration", "LiftDuration", "HoldInPlaceDuration", "RestrictionDuration", "SlowPercent", "EnemySlowPct", "MoveSlowPercent", "GroundDashReductionPercent", "SlowDuration", "DebuffDuration", "ExplodeDebuffDuration", "BulletDamageAmpDuration", "BulletResistReduction", "StealDuration", "EffectDuration", "DebuffAccuracy", "TimeSlowDuration", "BurnDuration", "BleedDuration", "VenomDuration", "MaxSlowDuration", "Life Drain", "Card Trick", "Sticky Bomb", "Light Eater", "Luggage Cart", "Essence Theft" }
    ["heal"] = {
        "AbilityLifestealPercentHero", "BonusHealthRegen", "BulletLifestealPercent", "DamageHealMult", "ExternalBonusHealthRegen",
        "FlatHealthHealing", "HealAmount", "HealFixedHealth", "HealingFactor", "HealingPerSecond", "HealMaxHealth", "HealMaxHealthPercent",
        "HealOnKillPct", "HealPctVsHeroes", "HealthStealPctHero", "InfestHeal", "LifeStealPercentOnHit",
        "LifestealPercentHero", "MaxHealthRegen", "MissingHealthBurstPct", "MissingHealthPercentHeal", "MissingHPHeal",
        "RegenIncomingDamagePercent", "TechLifestealPercent", "TotalHealthRegen",
        "Card Trick", "Rake",
    },


-- Abilities that restore health, buffed by Heal Amp items
}
local heal = { "HealingPerSecond", "HealAmount", "HealFixedHealth", "FlatHealthHealing", "HealingFactor", "MaxHealthRegen", "ExternalBonusHealthRegen", "BonusHealthRegen", "LifeStealPercentOnHit", "LifestealPercentHero", "MissingHealthPercentHeal", "MissingHealthBurstPct", "MissingHPHeal", "TechLifestealPercent", "AbilityLifestealPercentHero", "HealthStealPctHero", "BulletLifestealPercent", "TotalHealthRegen", "DamageHealMult", "HealPctVsHeroes", "InfestHeal", "HealOnKillPct", "HealMaxHealth", "HealMaxHealthPercent", "RegenIncomingDamagePercent", "Rake", "Card Trick" }


-- Abilities to suppress from a given stat's list.
-- Abilities to suppress from a given stat's list.
Line 56: Line 91:


return {
return {
     lists = {
     lists             = lists,
        ["charges"]      = charges,
        ["melee"]        = melee,
        ["wpndmg"]        = wpndmg,
        ["healreduce"]    = healreduce,
        ["debuffresist"]  = debuffresist,
        ["moveslow"]      = moveslow,
        ["dashslow"]      = dashslow,
        ["reactivebarrier"] = reactivebarrier,
        ["dispelmagic"]  = dispelmagic,
        ["heal"]          = heal,
    },
     exclude_abilities = exclude_abilities,
     exclude_abilities = exclude_abilities,
}
}