- Fixed Curses in attachToPlayerAIPreferences.

This commit is contained in:
Sloth
2012-11-15 20:21:00 +00:00
parent 841a0295cc
commit 17c356d811

View File

@@ -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;