Module:Abilities/card: Difference between revisionsGive feedback
Jump to navigation
Jump to search
Gammaton32 (talk | contribs) added cooldown and combat barrier icons |
Gammaton32 (talk | contribs) updated icon colors |
||
| Line 9: | Line 9: | ||
-- Optional icon size, will be defaulted on the template | -- Optional icon size, will be defaulted on the template | ||
local ATTR_TYPE_ICON_MAP = { | local ATTR_TYPE_ICON_MAP = { | ||
bullet_armor_up = {img='Bullet_Armor.png', link='Damage_Resistance'}, | bullet_armor_up = {img='Bullet_Armor.png', link='Damage_Resistance', color = 'Brown'}, | ||
bullet_armor_down = {img='Bullet_armor_down.png', link='Damage_Resistance', size='23px'}, | bullet_armor_down = {img='Bullet_armor_down.png', link='Damage_Resistance', size='23px'}, | ||
cast = {img='AttributeIconMaxChargesIncrease.png', link=''}, | cast = {img='AttributeIconMaxChargesIncrease.png', link=''}, | ||
| Line 15: | Line 15: | ||
damage = {img='Damage_heart.png', link='', color = 'NoColor'}, -- 'NoColor' will apply no icon color and use the original image | damage = {img='Damage_heart.png', link='', color = 'NoColor'}, -- 'NoColor' will apply no icon color and use the original image | ||
bullet_damage = {img='Damage.png', link='Bullet_Damage', color = 'Brown'}, | bullet_damage = {img='Damage.png', link='Bullet_Damage', color = 'Brown'}, | ||
fire_rate = {img='Fire Rate.png', link='Fire_Rate'}, | fire_rate = {img='Fire Rate.png', link='Fire_Rate', color = 'Brown'}, | ||
healing = {img='Health regen.png', link='Health_Regen'}, | healing = {img='Health regen.png', link='Health_Regen', color = 'Green'}, | ||
health = {img='Health.png', link='Health'}, | health = {img='Health.png', link='Health', color = 'Green'}, | ||
move_speed = {img='Move speed.png', link='Move Speed'}, | move_speed = {img='Move speed.png', link='Move Speed'}, | ||
range = {img='CastRange.png', link='Ability_Range'}, | range = {img='CastRange.png', link='Ability_Range'}, | ||
| Line 27: | Line 27: | ||
melee_damage = {img='Melee damage.png', link='Melee Damage'}, | melee_damage = {img='Melee damage.png', link='Melee Damage'}, | ||
cooldown = {img='AttributeIconTechDuration.png', link='Ability Cooldown'}, | cooldown = {img='AttributeIconTechDuration.png', link='Ability Cooldown'}, | ||
combat_barrier = {img='Barrier.png', link='Barrier'}, | combat_barrier = {img='Barrier.png', link='Barrier', color = 'Green'}, | ||
} | } | ||