From 4aaf3670c0ff4bc46092e909bb450b6336417ed9 Mon Sep 17 00:00:00 2001 From: nsensfel Date: Wed, 16 Oct 2019 18:38:13 +0200 Subject: ... --- src/battle/mechanic/action/btl_action_move.erl | 4 ++-- src/battle/mechanic/btl_victory_progression.erl | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/battle/mechanic/action/btl_action_move.erl b/src/battle/mechanic/action/btl_action_move.erl index bdefee9..897525f 100644 --- a/src/battle/mechanic/action/btl_action_move.erl +++ b/src/battle/mechanic/action/btl_action_move.erl @@ -501,7 +501,7 @@ handle (Action, S0Update) -> S4Update = commit_move(ActorIX, S1Actor, S4Update, HandledPath, NewLocation), - {_Nothing, S5Update} = + {_V0Nothing, S5Update} = btl_condition:apply_to_character ( ActorIX, @@ -511,7 +511,7 @@ handle (Action, S0Update) -> S4Update ), - {_Nothing, S6Update} = + {_V1Nothing, S6Update} = btl_condition:apply_to_character ( ActorIX, diff --git a/src/battle/mechanic/btl_victory_progression.erl b/src/battle/mechanic/btl_victory_progression.erl index 963b539..cf8b6d3 100644 --- a/src/battle/mechanic/btl_victory_progression.erl +++ b/src/battle/mechanic/btl_victory_progression.erl @@ -113,7 +113,7 @@ handle_player_defeat (PlayerIX, S0Update) -> S1Update ), - {_Nothing, S3Update} = + {_V3Nothing, S3Update} = btl_condition:apply_to_battle ( ?CONDITION_TRIGGER_PLAYER_DEFEAT, @@ -134,7 +134,7 @@ handle_player_defeat (PlayerIX, S0Update) -> ) -> btl_character_turn_update:type(). handle_character_loss (ActorIX, S0Update) -> - {_Nothing, S1Update} = + {_V0Nothing, S1Update} = btl_condition:apply_to_character ( ActorIX, @@ -144,7 +144,7 @@ handle_character_loss (ActorIX, S0Update) -> S0Update ), - {_Nothing, S2Update} = + {_V1Nothing, S2Update} = btl_condition:apply_to_battle ( ?CONDITION_TRIGGER_A_CHARACTER_HAS_DIED, -- cgit v1.2.3-70-g09d2