aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2019-06-12 16:34:43 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2019-06-12 16:34:43 +0200
commit6d6232f352b033797ffd339666699c2b84251f84 (patch)
tree5a368a57daa8344d3f52b1ed727c5f43df4af5b0
parent89ff03d8eb042fd952136b03c6de849602190064 (diff)
downloadtacticians-server-6d6232f352b033797ffd339666699c2b84251f84.zip
tacticians-server-6d6232f352b033797ffd339666699c2b84251f84.tar.bz2
Finding small mistakes here and there...
-rw-r--r--src/battle/mechanic/action/btl_action_attack.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/battle/mechanic/action/btl_action_attack.erl b/src/battle/mechanic/action/btl_action_attack.erl
index 47bdd93..56524af 100644
--- a/src/battle/mechanic/action/btl_action_attack.erl
+++ b/src/battle/mechanic/action/btl_action_attack.erl
@@ -403,7 +403,7 @@ handle_attack_sequence
case
(
(btl_character:get_current_health(S0Character) > 0)
- and (btl_character:get_current_health(S0Character) > 0)
+ and (btl_character:get_current_health(S0TargetCharacter) > 0)
)
of
true ->
@@ -509,7 +509,7 @@ handle_attack_sequence
case
(
(btl_character:get_current_health(S0Character) > 0)
- and (btl_character:get_current_health(S0Character) > 0)
+ and (btl_character:get_current_health(S0TargetCharacter) > 0)
)
of
true ->