summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/battle/src/View/Map/Character.elm')
-rw-r--r--src/battle/src/View/Map/Character.elm8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/battle/src/View/Map/Character.elm b/src/battle/src/View/Map/Character.elm
index 6031cff..65c1f03 100644
--- a/src/battle/src/View/Map/Character.elm
+++ b/src/battle/src/View/Map/Character.elm
@@ -10,6 +10,8 @@ import Util.Html
-- Battle Characters -----------------------------------------------------------
import BattleCharacters.Struct.Portrait
+import BattleCharacters.Struct.Character
+import BattleCharacters.Struct.Equipment
-- Local Module ----------------------------------------------------------------
import Constants.UI
@@ -151,7 +153,11 @@ get_head_html char =
(Html.Attributes.class
("asset-character-icon-" ++
(BattleCharacters.Struct.Portrait.get_icon_id
- (Struct.Character.get_portrait char)
+ (BattleCharacters.Struct.Equipment.get_portrait
+ (BattleCharacters.Struct.Character.get_equipment
+ (Struct.Character.get_base_character char)
+ )
+ )
)
)
)