summaryrefslogtreecommitdiff |
diff options
author | nsensfel <SpamShield0@noot-noot.org> | 2019-10-08 18:19:38 +0200 |
---|---|---|
committer | nsensfel <SpamShield0@noot-noot.org> | 2019-10-08 18:19:38 +0200 |
commit | 36c4af70fb3cda46d553306b65d9a73b1d0220fc (patch) | |
tree | 23d28bd76b89c8724a61cf435caffdc56d8a2a89 /src/battle/struct/btl_character.erl | |
parent | 27e6fba1b383b6045c8ef42a4beea9903359b07d (diff) |
...
Diffstat (limited to 'src/battle/struct/btl_character.erl')
-rw-r--r-- | src/battle/struct/btl_character.erl | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/battle/struct/btl_character.erl b/src/battle/struct/btl_character.erl index f5f7ee0..de01eb7 100644 --- a/src/battle/struct/btl_character.erl +++ b/src/battle/struct/btl_character.erl @@ -23,7 +23,8 @@ current_health :: integer(), %% Negative integers let us reverse attacks. is_active :: boolean(), is_defeated :: boolean(), - base :: shr_character:unresolved() + base :: shr_character:unresolved(), + conditions :: list(btl_condition:type()) } ). @@ -37,7 +38,8 @@ current_health :: integer(), %% Negative integers let us reverse attacks. is_active :: boolean(), is_defeated :: boolean(), - base :: shr_character:type() + base :: shr_character:type(), + conditions :: list(btl_condition:type()) } ). @@ -61,6 +63,7 @@ get_is_active/1, get_is_defeated/1, get_base_character/1, + get_conditions/1, set_rank/2, set_location/3, @@ -68,6 +71,7 @@ set_is_active/2, set_is_defeated/2, set_base_character/2, + set_conditions/2, ataxia_set_rank/2, ataxia_set_location/3, @@ -75,7 +79,9 @@ ataxia_set_is_active/2, ataxia_set_is_defeated/2, ataxia_set_base_character/2, + ataxia_set_conditions/2, + ataxia_set_conditions/3, ataxia_set_base_character/3, get_rank_field/0, @@ -83,7 +89,8 @@ get_is_active_field/0, get_is_defeated_field/0, get_location_field/0, - get_base_character_field/0 + get_base_character_field/0, + get_conditions_field/0 ] ). |