mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
- Fixed Curses in attachToPlayerAIPreferences.
This commit is contained in:
@@ -251,7 +251,7 @@ public class AttachAi extends SpellAiLogic {
|
|||||||
final boolean mandatory) {
|
final boolean mandatory) {
|
||||||
Player p;
|
Player p;
|
||||||
|
|
||||||
if (sa.isCurse()) {
|
if ("Curse".equals(sa.getParam("AILogic"))) {
|
||||||
p = aiPlayer.getOpponent();
|
p = aiPlayer.getOpponent();
|
||||||
} else {
|
} else {
|
||||||
p = aiPlayer;
|
p = aiPlayer;
|
||||||
|
|||||||
Reference in New Issue
Block a user