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) {
|
||||
Player p;
|
||||
|
||||
if (sa.isCurse()) {
|
||||
if ("Curse".equals(sa.getParam("AILogic"))) {
|
||||
p = aiPlayer.getOpponent();
|
||||
} else {
|
||||
p = aiPlayer;
|
||||
|
||||
Reference in New Issue
Block a user