Module:Sandbox/LVL: Difference between revisionsGive feedback
No edit summary |
No edit summary |
||
| Line 258: | Line 258: | ||
local ItemData = require("Module:ItemData") | local ItemData = require("Module:ItemData") | ||
local lines = { | local lines = { | ||
"{{Infobox item", | |||
"| item_name = " .. item_name | |||
} | |||
if item.StreetBrawl == true then | |||
table.insert(lines, "| street_brawl = true") | |||
end | |||
---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ||
| Line 449: | Line 453: | ||
-- Global fallback for AbilityCooldown (your fix: attaches to active section) | -- Global fallback for AbilityCooldown (your fix: attaches to active section) | ||
---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ||
if not cooldown_found_in_sections and item.AbilityCooldown then | if not cooldown_found_in_sections and not chargeup_found_in_sections and item.AbilityCooldown then | ||
local cd = format_stat(item_name, "AbilityCooldown", true, debug) | local cd = format_stat(item_name, "AbilityCooldown", true, debug) | ||
if cd then | if cd then | ||