From 120b0b7f6df0c8978aac9a423cbf8364feac4779 Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Sat, 10 Aug 2019 18:23:48 +0200 Subject: Statistics -> Attributes. --- src/map-editor/src/Struct/HelpRequest.elm | 4 ++-- src/map-editor/src/View/MessageBoard/Help.elm | 6 +++--- src/map-editor/src/View/SubMenu/TileStatus.elm | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/map-editor') diff --git a/src/map-editor/src/Struct/HelpRequest.elm b/src/map-editor/src/Struct/HelpRequest.elm index 5bfa96f..a8f8a20 100644 --- a/src/map-editor/src/Struct/HelpRequest.elm +++ b/src/map-editor/src/Struct/HelpRequest.elm @@ -1,7 +1,7 @@ module Struct.HelpRequest exposing (Type(..)) -- Battle ---------------------------------------------------------------------- -import Battle.Struct.Statistics +import Battle.Struct.Attributes import Battle.Struct.DamageType -------------------------------------------------------------------------------- @@ -9,5 +9,5 @@ import Battle.Struct.DamageType -------------------------------------------------------------------------------- type Type = None - | Statistic Battle.Struct.Statistics.Category + | Attribute Battle.Struct.Attributes.Category | DamageType Battle.Struct.DamageType.Type diff --git a/src/map-editor/src/View/MessageBoard/Help.elm b/src/map-editor/src/View/MessageBoard/Help.elm index 49b5b99..e615b55 100644 --- a/src/map-editor/src/View/MessageBoard/Help.elm +++ b/src/map-editor/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 @@ -31,8 +31,8 @@ get_html model = ] ( case model.help_request of - (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/map-editor/src/View/SubMenu/TileStatus.elm b/src/map-editor/src/View/SubMenu/TileStatus.elm index bc278b0..0ef4590 100644 --- a/src/map-editor/src/View/SubMenu/TileStatus.elm +++ b/src/map-editor/src/View/SubMenu/TileStatus.elm @@ -153,9 +153,9 @@ get_omnimods omnimods = (Html.Attributes.class "info-card-omnimods") ] [ - (Html.text "Statistics Modifiers"), + (Html.text "Attributes Modifiers"), (get_omnimods_listing - (Battle.Struct.Omnimods.get_statistics_mods omnimods) + (Battle.Struct.Omnimods.get_attribute_mods omnimods) ), (Html.text "Attack Modifiers"), (get_omnimods_listing -- cgit v1.2.3-70-g09d2