summaryrefslogtreecommitdiff |
diff options
author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2019-09-14 00:39:29 +0200 |
---|---|---|
committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2019-09-14 00:39:29 +0200 |
commit | a60955411ba7eb69cbcf8643cc8820c490d030f0 (patch) | |
tree | 765f090bf0589deec5599c55a0d99eccc5afa5ce | |
parent | 2c59aa55a97f5086e44f8ad90b62432a59e742cf (diff) |
Shows omnimods with the slot's modifier applied.
-rw-r--r-- | src/roster-editor/src/View/GlyphManagement.elm | 6 |
1 files changed, 5 insertions, 1 deletions
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) + ) ) ] ) |