| summaryrefslogtreecommitdiff | 
diff options
Diffstat (limited to 'src/battle/reply/btl_add_char.erl')
| -rw-r--r-- | src/battle/reply/btl_add_char.erl | 14 | 
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)}        ]     }. | 


