summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornsensfel <SpamShield0@noot-noot.org>2019-10-23 17:46:45 +0200
committernsensfel <SpamShield0@noot-noot.org>2019-10-23 17:46:45 +0200
commit65a2b95f7355b6b495516b95dafa63f8ccaa2bb0 (patch)
tree05011efdd963f8aa017d508bab1386eb90379df2 /src/bounty/bnt_join_battle.erl
parent240b60a2a747d073eb001dd92450fd19b91902e9 (diff)
...
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).