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