mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 02:08:00 +00:00
Merge branch 'fix-companion-ai' into 'master'
Companion AI was broken See merge request core-developers/forge!2948
This commit is contained in:
@@ -2992,7 +2992,7 @@ public class Player extends GameEntity implements Comparable<Player> {
|
|||||||
|
|
||||||
CardCollectionView view = CardCollection.getView(legalCompanions);
|
CardCollectionView view = CardCollection.getView(legalCompanions);
|
||||||
|
|
||||||
SpellAbility fakeSa = new SpellAbility.EmptySa(ApiType.CompanionChoose, null, this);
|
SpellAbility fakeSa = new SpellAbility.EmptySa(ApiType.CompanionChoose, legalCompanions.get(0), this);
|
||||||
return controller.chooseSingleEntityForEffect(view, fakeSa, Localizer.getInstance().getMessage("lblChooseACompanion"), true, null);
|
return controller.chooseSingleEntityForEffect(view, fakeSa, Localizer.getInstance().getMessage("lblChooseACompanion"), true, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user