mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- A little AI tweak to support Awe Strike.
This commit is contained in:
@@ -299,7 +299,7 @@ public class AbilityFactoryEffect {
|
|||||||
}
|
}
|
||||||
|
|
||||||
final Target tgt = sa.getTarget();
|
final Target tgt = sa.getTarget();
|
||||||
if (tgt != null) {
|
if (tgt != null && tgt.canTgtPlayer()) {
|
||||||
tgt.resetTargets();
|
tgt.resetTargets();
|
||||||
if (tgt.canOnlyTgtOpponent() || logic.equals("BeginningOfOppTurn")) {
|
if (tgt.canOnlyTgtOpponent() || logic.equals("BeginningOfOppTurn")) {
|
||||||
tgt.addTarget(AllZone.getHumanPlayer());
|
tgt.addTarget(AllZone.getHumanPlayer());
|
||||||
|
|||||||
Reference in New Issue
Block a user