Module:AbilityTable/Lists: Difference between revisionsGive feedback
Jump to navigation
Jump to search
create AbilityTable/Lists submodule with props and exclude_abilities (with help from vergir-bot LLM) |
Lists: rename props to lists, 1 list per line, add descriptive comments above each list (with help from vergir-bot LLM) |
||
| Line 1: | Line 1: | ||
-- | -- Abilities that have or gain charges on upgrades | ||
local charges = { "AbilityCharges" } | |||
local | |||
-- Abilities that scale with melee damage | |||
local melee = { "melee", "heavy_melee" } | |||
-- Abilities that scale with weapon damage | |||
local wpndmg = { "weapon_damage_increase" } | |||
-- Abilities that reduce healing on their targets | |||
local healreduce = { "HealAmpReceivePenaltyPercent", "HealAmpRegenPenaltyPercent", "DisableHealing" } | |||
-- Abilities whose debuff duration is reduced by Debuff Reducer | |||
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" } | |||
-- Abilities that apply a movement slow to their targets | |||
local moveslow = { "SlowPercent", "EnemySlowPct", "MoveSlowPercent", "MaxSlowPercent", "MoveSpeedSlowPct", "MovementSpeedSlow", "MovementSlowPct", "ClubSlowPercent", "MoveSpeedPenaltyPerStack", "MovementSlow" } | |||
-- Abilities that apply a dash slow to their targets | |||
local dashslow = { "GroundDashReductionPercent", "MaxGroundDashReductionPercent", "MoveSpeedAndDashSlowPct", "EnemyDashSlowPercent" } | |||
-- Abilities that trigger Reactive Barrier on their targets (WIP) | |||
local reactivebarrier = { "StunDuration", "SleepDuration", "SilenceDuration", "SilenceDebuff", "PetrifyDuration", "HexDuration", "ImmobilizeDuration", "LiftDuration", "HoldInPlaceDuration", "RestrictionDuration", "PullDuration", "PullDownDuration", "Itani Lo Sahn", "Dazzling Trick", "Ground Strike", "Hotel Guest" } | |||
-- Abilities whose debuffs can be cleansed by Dispel Magic | |||
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" } | |||
-- 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 82: | Line 56: | ||
return { | return { | ||
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, | ||
} | } | ||