summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/battlemap/src/Struct/Weapon.elm5
-rw-r--r--src/battlemap/src/View/SideBar/TabMenu/Status/CharacterInfo.elm22
2 files changed, 27 insertions, 0 deletions
diff --git a/src/battlemap/src/Struct/Weapon.elm b/src/battlemap/src/Struct/Weapon.elm
index df20541..3ef2bd0 100644
--- a/src/battlemap/src/Struct/Weapon.elm
+++ b/src/battlemap/src/Struct/Weapon.elm
@@ -1,6 +1,7 @@
module Struct.Weapon exposing
(
Type,
+ WeaponType
new,
none
)
@@ -16,6 +17,10 @@ type alias Type =
id : Int
}
+type WeaponRangeType = Ranged | Melee
+type WeaponRangeModifier = Long | Sort
+type WeaponDamageType = Slash | Blunt | Pierce
+
--------------------------------------------------------------------------------
-- LOCAL -----------------------------------------------------------------------
--------------------------------------------------------------------------------
diff --git a/src/battlemap/src/View/SideBar/TabMenu/Status/CharacterInfo.elm b/src/battlemap/src/View/SideBar/TabMenu/Status/CharacterInfo.elm
index d90296d..68895b7 100644
--- a/src/battlemap/src/View/SideBar/TabMenu/Status/CharacterInfo.elm
+++ b/src/battlemap/src/View/SideBar/TabMenu/Status/CharacterInfo.elm
@@ -180,6 +180,28 @@ get_statistics_html stats =
]
)
+get_weapon_html: (
+ Struct.Weapon.Type ->
+ (Html.Html Struct.Event.Type)
+ )
+get_statistics_html stats =
+ (Html.ul
+ [
+ ]
+ [
+ (Html.li
+ []
+ [
+ (Html.text
+ (
+ ""
+ )
+ )
+ ]
+ )
+ ]
+ )
+
--------------------------------------------------------------------------------
-- EXPORTED --------------------------------------------------------------------
--------------------------------------------------------------------------------