From 65a2b95f7355b6b495516b95dafa63f8ccaa2bb0 Mon Sep 17 00:00:00 2001 From: nsensfel Date: Wed, 23 Oct 2019 17:46:45 +0200 Subject: ... --- src/bounty/bnt_join_battle.erl | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/bounty/bnt_join_battle.erl') 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). -- cgit v1.2.3-70-g09d2