mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user