mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
Fix typo in function name
This commit is contained in:
@@ -8666,7 +8666,7 @@ public class Card extends GameEntity implements Comparable<Card> {
|
|||||||
* @param player
|
* @param player
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public List<SpellAbility> getAllPossibleAbilites(Player player) {
|
public List<SpellAbility> getAllPossibleAbilities(Player player) {
|
||||||
// this can only be called by the Human
|
// this can only be called by the Human
|
||||||
|
|
||||||
final List<SpellAbility> abilities = new ArrayList<SpellAbility>();
|
final List<SpellAbility> abilities = new ArrayList<SpellAbility>();
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ public class InputPassPriority extends InputSyncronizedBase {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onCardSelected(Card card, boolean isRmb) {
|
protected void onCardSelected(Card card, boolean isRmb) {
|
||||||
final SpellAbility ab = player.getController().getAbilityToPlay(card.getAllPossibleAbilites(player));
|
final SpellAbility ab = player.getController().getAbilityToPlay(card.getAllPossibleAbilities(player));
|
||||||
if ( null != ab) {
|
if ( null != ab) {
|
||||||
chosenSa = ab;
|
chosenSa = ab;
|
||||||
stop();
|
stop();
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ public class CField implements ICDoc {
|
|||||||
// TODO: "can play" check needed!
|
// TODO: "can play" check needed!
|
||||||
|
|
||||||
// should I check for who owns these cards? Are there any abilities to be played from opponent's graveyard?
|
// should I check for who owns these cards? Are there any abilities to be played from opponent's graveyard?
|
||||||
final SpellAbility ab = player.getController().getAbilityToPlay(c.getAllPossibleAbilites(player));
|
final SpellAbility ab = player.getController().getAbilityToPlay(c.getAllPossibleAbilities(player));
|
||||||
if ( null != ab) {
|
if ( null != ab) {
|
||||||
game.getAction().invoke(new Runnable(){ @Override public void run(){
|
game.getAction().invoke(new Runnable(){ @Override public void run(){
|
||||||
HumanPlay.playSpellAbility(player, ab);
|
HumanPlay.playSpellAbility(player, ab);
|
||||||
|
|||||||
Reference in New Issue
Block a user