mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
- Fog Drawback not calling right function
This commit is contained in:
@@ -3,6 +3,10 @@ package forge;
|
|||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
|
||||||
public class AbilityFactory_Combat {
|
public class AbilityFactory_Combat {
|
||||||
|
//**************************************************************
|
||||||
|
// ****************************** FOG **************************
|
||||||
|
//**************************************************************
|
||||||
|
|
||||||
public static SpellAbility createAbilityFog(final AbilityFactory AF){
|
public static SpellAbility createAbilityFog(final AbilityFactory AF){
|
||||||
final SpellAbility abFog = new Ability_Activated(AF.getHostCard(), AF.getAbCost(), AF.getAbTgt()){
|
final SpellAbility abFog = new Ability_Activated(AF.getHostCard(), AF.getAbCost(), AF.getAbTgt()){
|
||||||
private static final long serialVersionUID = -1933592438783630254L;
|
private static final long serialVersionUID = -1933592438783630254L;
|
||||||
@@ -56,7 +60,7 @@ public class AbilityFactory_Combat {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean chkAI_Drawback() {
|
public boolean chkAI_Drawback() {
|
||||||
return fogCanPlayAI(af, this);
|
return fogPlayDrawbackAI(af, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user