summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2019-10-21 21:50:25 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2019-10-21 21:50:25 +0200
commit3391371f9979f374e5cb3243e1f71500c6115f90 (patch)
tree4c59b4c03c7837c86fe758f524b6b4b595abdb31 /src/bounty/bnt_join_battle.erl
parentc2bff6b098480af6a21bde453494f8ff64219ea7 (diff)
Update for Ataxia.
Diffstat (limited to 'src/bounty/bnt_join_battle.erl')
-rw-r--r--src/bounty/bnt_join_battle.erl7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/bounty/bnt_join_battle.erl b/src/bounty/bnt_join_battle.erl
index 40ecc9b..68a3358 100644
--- a/src/bounty/bnt_join_battle.erl
+++ b/src/bounty/bnt_join_battle.erl
@@ -152,7 +152,10 @@ add_characters (PlayerIX, RosterCharacters, Battle) ->
RosterCharacters
),
- {FinalBattle, ataxic:optimize(ataxic:sequence(FinalBattleAtaxicUpdates))}.
+ {
+ FinalBattle,
+ ataxic:sequence(FinalBattleAtaxicUpdates)
+ }.
-spec get_roster_characters
(
@@ -715,7 +718,7 @@ attempt
(
pending_battle_db,
PlayerUser,
- ataxic:update_value(AtaxicUpdate),
+ ataxic:update_value(ataxic_optimize:aggressive(AtaxicUpdate)),
PendingBattleID
),