summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/bounty/bnt_join_battle.erl')
-rw-r--r--src/bounty/bnt_join_battle.erl10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/bounty/bnt_join_battle.erl b/src/bounty/bnt_join_battle.erl
index 68a3358..4e6f7fe 100644
--- a/src/bounty/bnt_join_battle.erl
+++ b/src/bounty/bnt_join_battle.erl
@@ -82,8 +82,16 @@ create_character (PlayerIX, RosterChar, Map, ForbiddenLocations) ->
ResolvedBaseChar = shr_character:resolve(TileOmnimods, RosterChar),
% TODO: link rank to roster.
+ % TODO: link conditions to roster.
Result =
- btl_character:new(PlayerIX, optional, Location, ResolvedBaseChar, []),
+ btl_character:new
+ (
+ PlayerIX,
+ optional,
+ Location,
+ ResolvedBaseChar,
+ btl_condition:new_collection()
+ ),
btl_character:to_unresolved(Result).