From a60955411ba7eb69cbcf8643cc8820c490d030f0 Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Sat, 14 Sep 2019 00:39:29 +0200 Subject: Shows omnimods with the slot's modifier applied. --- src/roster-editor/src/View/GlyphManagement.elm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/roster-editor') diff --git a/src/roster-editor/src/View/GlyphManagement.elm b/src/roster-editor/src/View/GlyphManagement.elm index 6216b2c..a636516 100644 --- a/src/roster-editor/src/View/GlyphManagement.elm +++ b/src/roster-editor/src/View/GlyphManagement.elm @@ -11,6 +11,7 @@ import Html.Events -- Battle ---------------------------------------------------------------------- import Battle.View.Omnimods +import Battle.Struct.Omnimods -- Battle Characters ----------------------------------------------------------- import BattleCharacters.Struct.Glyph @@ -76,7 +77,10 @@ get_glyph_html invalid_family_ids modifier (index, glyph) = ) ), (Battle.View.Omnimods.get_html - (BattleCharacters.Struct.Glyph.get_omnimods glyph) + (Battle.Struct.Omnimods.scale + ((toFloat modifier) / 100.0) + (BattleCharacters.Struct.Glyph.get_omnimods glyph) + ) ) ] ) -- cgit v1.2.3-70-g09d2