remove support for SVar= string in SubAbility. It has not been required for a long time, and now, is no longer supported. All card files have been updated.

This commit is contained in:
slapshot5
2012-01-16 05:48:21 +00:00
parent a10c5ea3eb
commit e025a5526b

View File

@@ -1324,14 +1324,9 @@ public class AbilityFactory {
String sSub = this.getMapParams().get("SubAbility");
if (sSub.startsWith("SVar=")) {
sSub = sSub.replace("SVar=", "");
}
sSub = this.getHostCard().getSVar(sSub);
if (!sSub.equals("")) {
// Older style Drawback no longer supported
final AbilityFactory afDB = new AbilityFactory();
abSub = (AbilitySub) afDB.getAbility(sSub, this.getHostCard());
} else {