summaryrefslogtreecommitdiff |
diff options
author | nsensfel <SpamShield0@noot-noot.org> | 2019-06-07 13:22:10 +0200 |
---|---|---|
committer | nsensfel <SpamShield0@noot-noot.org> | 2019-06-07 13:22:10 +0200 |
commit | 4ea25208b3e5ffa2a3244f2cadc34c5f07d05e0c (patch) | |
tree | fdc24a37c779800b1224e6947dfbc72ca9282a6e /src | |
parent | 36479d18690c537f4eb847cfe37fbfe33ae7d5d5 (diff) |
Woops, NotOpportunistic != Opportunistic...
Diffstat (limited to 'src')
-rw-r--r-- | src/battle/mechanic/action/btl_action_attack.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle/mechanic/action/btl_action_attack.erl b/src/battle/mechanic/action/btl_action_attack.erl index 4a4ee8a..fe77473 100644 --- a/src/battle/mechanic/action/btl_action_attack.erl +++ b/src/battle/mechanic/action/btl_action_attack.erl @@ -99,7 +99,7 @@ get_character_abilities (Action, Character, TargetCharacter) -> TargetDefenseRange = shr_weapon:get_minimum_range(TargetCharacterWeapon), TargetAttackRange = shr_weapon:get_maximum_range(TargetCharacterWeapon), - IsNotOpportunistic = btl_action:get_is_opportunistic(Action), + IsNotOpportunistic = (not btl_action:get_is_opportunistic(Action)), RequiredRange = shr_location:dist |