aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornsensfel <SpamShield0@noot-noot.org>2019-09-11 17:14:13 +0200
committernsensfel <SpamShield0@noot-noot.org>2019-09-11 17:14:13 +0200
commitaadf3043f8647c033cc14ba8a4d5ad01dd9057fb (patch)
tree2580066ccef2510babe615b21017b2dfed018671
parent6a294ff0ed9c69be2c49aa18a1589ef0a4be83f6 (diff)
downloadtacticians-client-aadf3043f8647c033cc14ba8a4d5ad01dd9057fb.zip
tacticians-client-aadf3043f8647c033cc14ba8a4d5ad01dd9057fb.tar.bz2
...
-rw-r--r--src/battle/src/View/Controlled/CharacterCard.elm20
1 files changed, 18 insertions, 2 deletions
diff --git a/src/battle/src/View/Controlled/CharacterCard.elm b/src/battle/src/View/Controlled/CharacterCard.elm
index a48c631..6024438 100644
--- a/src/battle/src/View/Controlled/CharacterCard.elm
+++ b/src/battle/src/View/Controlled/CharacterCard.elm
@@ -438,7 +438,15 @@ get_summary_html char_turn player_ix char =
]
),
(Battle.View.Omnimods.get_html
- omnimods
+ (Battle.Struct.Omnimods.apply_damage_modifier
+ (Battle.Struct.Omnimods.get_attribute_mod
+ (Battle.Struct.Attributes.encode_category
+ Battle.Struct.Attributes.DamageModifier
+ )
+ omnimods
+ )
+ omnimods
+ )
),
(get_weapon_summary active_weapon),
(get_weapon_details
@@ -497,7 +505,15 @@ get_full_html player_ix char =
]
),
(Battle.View.Omnimods.get_html
- omnimods
+ (Battle.Struct.Omnimods.apply_damage_modifier
+ (Battle.Struct.Omnimods.get_attribute_mod
+ (Battle.Struct.Attributes.encode_category
+ Battle.Struct.Attributes.DamageModifier
+ )
+ omnimods
+ )
+ omnimods
+ )
),
(get_weapon_summary
(BattleCharacters.Struct.Character.get_active_weapon