summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2020-05-25 09:28:58 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2020-05-25 09:28:58 +0200
commited0a0286a6bc1772c0bace457e900bf7123cb39e (patch)
treea3bdc40ce192f700b25a52433873d760c87b769a /src/battle/src/View/Map/Character.elm
parentf880b395bf66b12abefc15c46902464bf9d542d1 (diff)
Displays some of the effects using the new approach.
Diffstat (limited to 'src/battle/src/View/Map/Character.elm')
-rw-r--r--src/battle/src/View/Map/Character.elm6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/battle/src/View/Map/Character.elm b/src/battle/src/View/Map/Character.elm
index 49150eb..67a165b 100644
--- a/src/battle/src/View/Map/Character.elm
+++ b/src/battle/src/View/Map/Character.elm
@@ -14,6 +14,7 @@ import BattleCharacters.Struct.Character
import BattleCharacters.Struct.Equipment
-- Local Module ----------------------------------------------------------------
+import Constants.DisplayEffects
import Constants.UI
import Struct.Character
@@ -101,7 +102,10 @@ get_actual_html char =
(
\effect_name ->
(Html.Attributes.class
- ("character-icon-effect-" ++ effect_name)
+ (
+ Constants.DisplayEffects.css_class_prefix
+ ++ effect_name
+ )
)
)
(Struct.Character.get_extra_display_effects_list char)