summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornsensfel <SpamShield0@noot-noot.org>2019-06-07 17:57:29 +0200
committernsensfel <SpamShield0@noot-noot.org>2019-06-07 17:57:29 +0200
commitd693f287201f3178f9cc36eee15af29694f67263 (patch)
tree1a3e67bbdc8e025b7464e898ae17d69b4a4fc34c /src/battle/mechanic/action/btl_action_attack.erl
parent4ea25208b3e5ffa2a3244f2cadc34c5f07d05e0c (diff)
...
Diffstat (limited to 'src/battle/mechanic/action/btl_action_attack.erl')
-rw-r--r--src/battle/mechanic/action/btl_action_attack.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/battle/mechanic/action/btl_action_attack.erl b/src/battle/mechanic/action/btl_action_attack.erl
index fe77473..bfeafcc 100644
--- a/src/battle/mechanic/action/btl_action_attack.erl
+++ b/src/battle/mechanic/action/btl_action_attack.erl
@@ -739,6 +739,7 @@ handle (Action, S0Character, S0Update) ->
case (btl_character:get_current_health(S1Character) > 0) of
true -> S2Update;
false ->
+ % Remove melee opportunistic zone for S1Character.
btl_victory_progression:handle_character_loss(S1Character, S2Update)
end,
@@ -746,6 +747,7 @@ handle (Action, S0Character, S0Update) ->
case (btl_character:get_current_health(S1TargetCharacter) > 0) of
true -> S3Update;
false ->
+ % Remove melee opportunistic zone for S1TargetCharacter.
btl_victory_progression:handle_character_loss
(
S1TargetCharacter,