summaryrefslogtreecommitdiff |
diff options
author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2019-08-10 18:23:48 +0200 |
---|---|---|
committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2019-08-10 18:23:48 +0200 |
commit | 120b0b7f6df0c8978aac9a423cbf8364feac4779 (patch) | |
tree | 9fd0b29790de37c8f3f6c786391a543d79b74164 /src/battle/src/View | |
parent | 69611b72a28333c129ad25c3daae92b4215ac5d4 (diff) |
Statistics -> Attributes.
Diffstat (limited to 'src/battle/src/View')
-rw-r--r-- | src/battle/src/View/Controlled/CharacterCard.elm | 56 | ||||
-rw-r--r-- | src/battle/src/View/Controlled/Targets.elm | 10 | ||||
-rw-r--r-- | src/battle/src/View/MessageBoard/Help.elm | 6 | ||||
-rw-r--r-- | src/battle/src/View/MessageBoard/Help/Guide.elm | 2 |
4 files changed, 37 insertions, 37 deletions
diff --git a/src/battle/src/View/Controlled/CharacterCard.elm b/src/battle/src/View/Controlled/CharacterCard.elm index 7484cb3..0dcde2f 100644 --- a/src/battle/src/View/Controlled/CharacterCard.elm +++ b/src/battle/src/View/Controlled/CharacterCard.elm @@ -18,10 +18,10 @@ import Util.Html -- Battle ---------------------------------------------------------------------- import Battle.Struct.DamageType import Battle.Struct.Omnimods -import Battle.Struct.Statistics +import Battle.Struct.Attributes import Battle.View.Gauge -import Battle.View.Statistic +import Battle.View.Attribute import Battle.View.DamageType -- Battle Characters ----------------------------------------------------------- @@ -66,8 +66,8 @@ get_health_bar char = let current = (Struct.Character.get_sane_current_health char) max = - (Battle.Struct.Statistics.get_max_health - (BattleCharacters.Struct.Character.get_statistics + (Battle.Struct.Attributes.get_max_health + (BattleCharacters.Struct.Character.get_attributes (Struct.Character.get_base_character char) ) ) @@ -80,8 +80,8 @@ get_health_bar char = (Html.Attributes.class "clickable"), (Html.Events.onClick (Struct.Event.RequestedHelp - (Struct.HelpRequest.Statistic - Battle.Struct.Statistics.MaxHealth + (Struct.HelpRequest.Attribute + Battle.Struct.Attributes.MaxHealth ) ) ) @@ -139,8 +139,8 @@ get_active_movement_bar : ( get_active_movement_bar maybe_navigator char = let max = - (Battle.Struct.Statistics.get_movement_points - (BattleCharacters.Struct.Character.get_statistics + (Battle.Struct.Attributes.get_movement_points + (BattleCharacters.Struct.Character.get_attributes (Struct.Character.get_base_character char) ) ) @@ -160,8 +160,8 @@ get_active_movement_bar maybe_navigator char = (Html.Attributes.class "clickable"), (Html.Events.onClick (Struct.Event.RequestedHelp - (Struct.HelpRequest.Statistic - Battle.Struct.Statistics.MovementPoints + (Struct.HelpRequest.Attribute + Battle.Struct.Attributes.MovementPoints ) ) ) @@ -177,8 +177,8 @@ get_inactive_movement_bar : ( get_inactive_movement_bar char = let max = - (Battle.Struct.Statistics.get_movement_points - (BattleCharacters.Struct.Character.get_statistics + (Battle.Struct.Attributes.get_movement_points + (BattleCharacters.Struct.Character.get_attributes (Struct.Character.get_base_character char) ) ) @@ -191,8 +191,8 @@ get_inactive_movement_bar char = (Html.Attributes.class "clickable"), (Html.Events.onClick (Struct.Event.RequestedHelp - (Struct.HelpRequest.Statistic - Battle.Struct.Statistics.MovementPoints + (Struct.HelpRequest.Attribute + Battle.Struct.Attributes.MovementPoints ) ) ) @@ -417,11 +417,11 @@ get_summary_html : ( get_summary_html char_turn player_ix char = let base_char = (Struct.Character.get_base_character char) - char_statistics = - (BattleCharacters.Struct.Character.get_statistics base_char) + char_attributes = + (BattleCharacters.Struct.Character.get_attributes base_char) damage_multiplier = - (Battle.Struct.Statistics.get_damage_multiplier - char_statistics + (Battle.Struct.Attributes.get_damage_multiplier + char_attributes ) omnimods = (BattleCharacters.Struct.Character.get_omnimods base_char) equipment = (BattleCharacters.Struct.Character.get_equipment base_char) @@ -463,9 +463,9 @@ get_summary_html char_turn player_ix char = (BattleCharacters.Struct.Equipment.get_armor equipment) ), (Html.div - [(Html.Attributes.class "character-card-stats")] - (Battle.View.Statistic.get_all_but_gauges_html - char_statistics + [(Html.Attributes.class "character-card-atts")] + (Battle.View.Attribute.get_all_but_gauges_html + char_attributes ) ), (get_weapon_summary @@ -485,11 +485,11 @@ get_full_html : ( get_full_html player_ix char = let base_char = (Struct.Character.get_base_character char) - char_statistics = - (BattleCharacters.Struct.Character.get_statistics base_char) + char_attributes = + (BattleCharacters.Struct.Character.get_attributes base_char) damage_multiplier = - (Battle.Struct.Statistics.get_damage_multiplier - char_statistics + (Battle.Struct.Attributes.get_damage_multiplier + char_attributes ) omnimods = (BattleCharacters.Struct.Character.get_omnimods base_char) equipment = (BattleCharacters.Struct.Character.get_equipment base_char) @@ -532,9 +532,9 @@ get_full_html player_ix char = (BattleCharacters.Struct.Equipment.get_armor equipment) ), (Html.div - [(Html.Attributes.class "character-card-stats")] - (Battle.View.Statistic.get_all_but_gauges_html - char_statistics + [(Html.Attributes.class "character-card-atts")] + (Battle.View.Attribute.get_all_but_gauges_html + char_attributes ) ), (get_weapon_summary diff --git a/src/battle/src/View/Controlled/Targets.elm b/src/battle/src/View/Controlled/Targets.elm index 4b36f03..3457731 100644 --- a/src/battle/src/View/Controlled/Targets.elm +++ b/src/battle/src/View/Controlled/Targets.elm @@ -7,7 +7,7 @@ import Html import Html.Attributes -- Battle ---------------------------------------------------------------------- -import Battle.Struct.Statistics +import Battle.Struct.Attributes -- Local Module ---------------------------------------------------------------- import Struct.Character @@ -36,8 +36,8 @@ get_target_info_html model char_ref = ++ "): " ++ (String.fromInt - (Battle.Struct.Statistics.get_movement_points - (Struct.Character.get_statistics char) + (Battle.Struct.Attributes.get_movement_points + (Struct.Character.get_attributes char) ) ) ++ " movement points; " @@ -50,8 +50,8 @@ get_target_info_html model char_ref = ++ "/" ++ (String.fromInt - (Battle.Struct.Statistics.get_max_health - (Struct.Character.get_statistics char) + (Battle.Struct.Attributes.get_max_health + (Struct.Character.get_attributes char) ) ) ) diff --git a/src/battle/src/View/MessageBoard/Help.elm b/src/battle/src/View/MessageBoard/Help.elm index 5fcdabd..89af283 100644 --- a/src/battle/src/View/MessageBoard/Help.elm +++ b/src/battle/src/View/MessageBoard/Help.elm @@ -6,7 +6,7 @@ import Html.Attributes -- Battle ---------------------------------------------------------------------- import Battle.View.Help.DamageType -import Battle.View.Help.Statistic +import Battle.View.Help.Attribute -- Local Module ---------------------------------------------------------------- import Struct.Event @@ -38,8 +38,8 @@ get_html model = (Struct.HelpRequest.Rank rank) -> (View.MessageBoard.Help.Rank.get_html_contents rank) - (Struct.HelpRequest.Statistic stat_cat) -> - (Battle.View.Help.Statistic.get_html_contents stat_cat) + (Struct.HelpRequest.Attribute att_cat) -> + (Battle.View.Help.Attribute.get_html_contents att_cat) (Struct.HelpRequest.DamageType dmg_cat) -> (Battle.View.Help.DamageType.get_html_contents dmg_cat) diff --git a/src/battle/src/View/MessageBoard/Help/Guide.elm b/src/battle/src/View/MessageBoard/Help/Guide.elm index deb5190..d60dd6b 100644 --- a/src/battle/src/View/MessageBoard/Help/Guide.elm +++ b/src/battle/src/View/MessageBoard/Help/Guide.elm @@ -87,7 +87,7 @@ get_default_html_contents = (Html.text ( "Click once on a character to focus them. This will show you" - ++ " their stats, equipment, and other infos. If they are in" + ++ " their attributes, equipment, and other infos. If they are in" ++ " your team and active (the pulsating characters)," ++ " clicking on them again will let you take control." ) |