From 48d576fc30487769fb0fc980533d85a80f6f4f13 Mon Sep 17 00:00:00 2001 From: nsensfel Date: Thu, 31 Jan 2019 18:54:52 +0100 Subject: Adds a few more icons... --- src/battle/src/View/Controlled/CharacterCard.elm | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'src/battle') diff --git a/src/battle/src/View/Controlled/CharacterCard.elm b/src/battle/src/View/Controlled/CharacterCard.elm index b659606..b9874f5 100644 --- a/src/battle/src/View/Controlled/CharacterCard.elm +++ b/src/battle/src/View/Controlled/CharacterCard.elm @@ -267,12 +267,16 @@ get_multiplied_mod_html multiplier mod = (Html.Attributes.class "character-card-mod") ] [ + (Html.div + [ + (Html.Attributes.class "omnimod-icon"), + (Html.Attributes.class ("omnimod-icon-" ++ category)) + ] + [ + ] + ), (Html.text - ( - category - ++ ": " - ++ (String.fromInt (ceiling ((toFloat value) * multiplier))) - ) + (String.fromInt (ceiling ((toFloat value) * multiplier))) ) ] ) -- cgit v1.2.3-70-g09d2