Module:Abilities/card: Difference between revisionsGive feedback
Added channel time attribute |
Gammaton32 (talk | contribs) info section 3 |
||
| Line 92: | Line 92: | ||
if #info2_alt_boxes > 6 then | if #info2_alt_boxes > 6 then | ||
error(#info2_alt_boxes .. ' alt boxes found, but only 6 are supported. Please update Module:Abilities/card and Template:Ability_card_v2') | error(#info2_alt_boxes .. ' alt boxes found, but only 6 are supported. Please update Module:Abilities/card and Template:Ability_card_v2') | ||
end | |||
local info3_desc = get_info_desc(hero_key, ability_num, 2) | |||
local info3_main_boxes = get_main_boxes(hero_key, ability_num, 2) | |||
local info3_alt_boxes = get_alt_boxes(hero_key, ability_num, 2) | |||
if #info3_alt_boxes > 6 then | |||
error(#info3_alt_boxes .. ' alt boxes found, but only 6 are supported. Please update Module:Abilities/card and Template:Ability_card_v2') | |||
end | end | ||
| Line 145: | Line 153: | ||
info2_altbox5 = info2_alt_boxes[5], | info2_altbox5 = info2_alt_boxes[5], | ||
info2_altbox6 = info2_alt_boxes[6], | info2_altbox6 = info2_alt_boxes[6], | ||
-- Info section #3 defined in "Info3" attribute | |||
info3_desc = info3_desc, | |||
info3_mainbox1 = info3_main_boxes[1], | |||
info3_mainbox2 = info3_main_boxes[2], | |||
info3_mainbox3 = info3_main_boxes[3], | |||
info3_altbox1 = info3_alt_boxes[1], | |||
info3_altbox2 = info3_alt_boxes[2], | |||
info3_altbox3 = info3_alt_boxes[3], | |||
info3_altbox4 = info3_alt_boxes[4], | |||
info3_altbox5 = info3_alt_boxes[5], | |||
info3_altbox6 = info3_alt_boxes[6], | |||
-- Ability upgrades defined in "Upgrades" attribute | -- Ability upgrades defined in "Upgrades" attribute | ||