- Updated scripts

This commit is contained in:
swordshine
2014-03-06 02:09:08 +00:00
parent 6c67cef9ed
commit f5a8b2706d
5 changed files with 15 additions and 13 deletions

View File

@@ -229,9 +229,10 @@ public class AbilityManaPart implements java.io.Serializable {
String[] parse = this.addsCounters.split("_");
// Convert random SVars if there are other cards with this effect
if (c.isValid(parse[0], c.getController(), c)) {
String abStr = "AB$ ChangeZone | Cost$ 0 | Hidden$ True | Origin$ All | Destination$ Battlefield"
+ "| Defined$ ReplacedCard | SubAbility$ ManaDBETBCounters";
String dbStr = "DB$ PutCounter | Defined$ Self | CounterType$ " + parse[1] + " | CounterNum$ " + parse[2];
String abStr = "DB$ PutCounter | Defined$ Self | CounterType$ " + parse[1]
+ " | CounterNum$ " + parse[2] + " | SubAbility$ ManaDBETBCounters";
String dbStr = "DB$ ChangeZone | Hidden$ True | Origin$ All | Destination$ Battlefield"
+ " | Defined$ ReplacedCard";
try {
Integer.parseInt(parse[2]);
} catch (NumberFormatException ignored) {

View File

@@ -330,9 +330,10 @@ public class MagicStack /* extends MyObservable */ implements Iterable<SpellAbil
}
} while (hasPaid);
if (source.getPseudoKickerMagnitude() > 0) {
String abStr = "AB$ ChangeZone | Cost$ 0 | Hidden$ True | Origin$ All | Destination$ Battlefield"
+ "| Defined$ ReplacedCard | SubAbility$ ChorusDBETBCounters";
String dbStr = "DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ " + source.getPseudoKickerMagnitude();
String abStr = "DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ "
+ source.getPseudoKickerMagnitude() + " | SubAbility$ ChorusDBETBCounters";
String dbStr = "DB$ ChangeZone | Hidden$ True | Origin$ All | Destination$ Battlefield"
+ "| Defined$ ReplacedCard";
source.setSVar("ChorusETBCounters", abStr);
source.setSVar("ChorusDBETBCounters", dbStr);