summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornsensfel <SpamShield0@noot-noot.org>2018-07-11 18:02:26 +0200
committernsensfel <SpamShield0@noot-noot.org>2018-07-11 18:02:26 +0200
commitacb9dd3220a3edcac93aa11d1d74d008e2fb23ed (patch)
tree98b45af3f7eb9c7d812ed33a07e6a0f665a7a8cd /src/battle/reply/btl_add_char.erl
parentfde827cba1ff3d889135c74ee1978098465fd200 (diff)
"sh_" -> "shr_".
Diffstat (limited to 'src/battle/reply/btl_add_char.erl')
-rw-r--r--src/battle/reply/btl_add_char.erl14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/battle/reply/btl_add_char.erl b/src/battle/reply/btl_add_char.erl
index 75b6fcd..f0b70e9 100644
--- a/src/battle/reply/btl_add_char.erl
+++ b/src/battle/reply/btl_add_char.erl
@@ -22,18 +22,18 @@ rank_to_string (Rank) ->
-spec attributes_as_json
(
- sh_attributes:type()
+ shr_attributes:type()
) ->
{list({binary(), non_neg_integer()})}.
attributes_as_json (Attributes) ->
{
[
- {<<"con">>, sh_attributes:get_constitution(Attributes)},
- {<<"dex">>, sh_attributes:get_dexterity(Attributes)},
- {<<"int">>, sh_attributes:get_intelligence(Attributes)},
- {<<"min">>, sh_attributes:get_mind(Attributes)},
- {<<"spe">>, sh_attributes:get_speed(Attributes)},
- {<<"str">>, sh_attributes:get_strength(Attributes)}
+ {<<"con">>, shr_attributes:get_constitution(Attributes)},
+ {<<"dex">>, shr_attributes:get_dexterity(Attributes)},
+ {<<"int">>, shr_attributes:get_intelligence(Attributes)},
+ {<<"min">>, shr_attributes:get_mind(Attributes)},
+ {<<"spe">>, shr_attributes:get_speed(Attributes)},
+ {<<"str">>, shr_attributes:get_strength(Attributes)}
]
}.