mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
- Fixed targeting AI of AF DealDamage for drawbacks.
This commit is contained in:
@@ -585,7 +585,7 @@ public class AbilityFactoryDealDamage {
|
|||||||
// because we can
|
// because we can
|
||||||
else if (tgt.canTgtPlayer() && ((AllZone.getPhase().is(Constant.Phase.END_OF_TURN)
|
else if (tgt.canTgtPlayer() && ((AllZone.getPhase().is(Constant.Phase.END_OF_TURN)
|
||||||
&& AllZone.getPhase().isNextTurn(AllZone.getComputerPlayer()))
|
&& AllZone.getPhase().isNextTurn(AllZone.getComputerPlayer()))
|
||||||
|| saMe.isTrigger())) {
|
|| saMe.getPayCosts() == null)) {
|
||||||
if (tgt.addTarget(AllZone.getHumanPlayer())) {
|
if (tgt.addTarget(AllZone.getHumanPlayer())) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user