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("_");
|
String[] parse = this.addsCounters.split("_");
|
||||||
// Convert random SVars if there are other cards with this effect
|
// Convert random SVars if there are other cards with this effect
|
||||||
if (c.isValid(parse[0], c.getController(), c)) {
|
if (c.isValid(parse[0], c.getController(), c)) {
|
||||||
String abStr = "AB$ ChangeZone | Cost$ 0 | Hidden$ True | Origin$ All | Destination$ Battlefield"
|
String abStr = "DB$ PutCounter | Defined$ Self | CounterType$ " + parse[1]
|
||||||
+ "| Defined$ ReplacedCard | SubAbility$ ManaDBETBCounters";
|
+ " | CounterNum$ " + parse[2] + " | SubAbility$ ManaDBETBCounters";
|
||||||
String dbStr = "DB$ PutCounter | Defined$ Self | CounterType$ " + parse[1] + " | CounterNum$ " + parse[2];
|
String dbStr = "DB$ ChangeZone | Hidden$ True | Origin$ All | Destination$ Battlefield"
|
||||||
|
+ " | Defined$ ReplacedCard";
|
||||||
try {
|
try {
|
||||||
Integer.parseInt(parse[2]);
|
Integer.parseInt(parse[2]);
|
||||||
} catch (NumberFormatException ignored) {
|
} catch (NumberFormatException ignored) {
|
||||||
|
|||||||
@@ -330,9 +330,10 @@ public class MagicStack /* extends MyObservable */ implements Iterable<SpellAbil
|
|||||||
}
|
}
|
||||||
} while (hasPaid);
|
} while (hasPaid);
|
||||||
if (source.getPseudoKickerMagnitude() > 0) {
|
if (source.getPseudoKickerMagnitude() > 0) {
|
||||||
String abStr = "AB$ ChangeZone | Cost$ 0 | Hidden$ True | Origin$ All | Destination$ Battlefield"
|
String abStr = "DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ "
|
||||||
+ "| Defined$ ReplacedCard | SubAbility$ ChorusDBETBCounters";
|
+ source.getPseudoKickerMagnitude() + " | SubAbility$ ChorusDBETBCounters";
|
||||||
String dbStr = "DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ " + source.getPseudoKickerMagnitude();
|
String dbStr = "DB$ ChangeZone | Hidden$ True | Origin$ All | Destination$ Battlefield"
|
||||||
|
+ "| Defined$ ReplacedCard";
|
||||||
|
|
||||||
source.setSVar("ChorusETBCounters", abStr);
|
source.setSVar("ChorusETBCounters", abStr);
|
||||||
source.setSVar("ChorusDBETBCounters", dbStr);
|
source.setSVar("ChorusDBETBCounters", dbStr);
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ K:Bloodthirst 3
|
|||||||
K:Flying
|
K:Flying
|
||||||
T:Mode$ SpellCast | ValidCard$ Creature.Vampire | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ BloodPump | TriggerDescription$ Whenever you cast a Vampire creature spell, it gains bloodthirst 3.
|
T:Mode$ SpellCast | ValidCard$ Creature.Vampire | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ BloodPump | TriggerDescription$ Whenever you cast a Vampire creature spell, it gains bloodthirst 3.
|
||||||
SVar:BloodPump:AB$ Animate | Cost$ 0 | Defined$ TriggeredCard | Replacements$ etbBloodthirst | sVars$ VaasgothETB,BloodthirstCounters | Permanent$ True
|
SVar:BloodPump:AB$ Animate | Cost$ 0 | Defined$ TriggeredCard | Replacements$ etbBloodthirst | sVars$ VaasgothETB,BloodthirstCounters | Permanent$ True
|
||||||
SVar:etbBloodthirst:Event$ Moved | ValidCard$ Card.Self | Destination$ Battlefield | Bloodthirst$ True | ReplaceWith$ VaasgothETB | Description$ Bloodthirst 3 (If an opponent was dealt damage this turn, this creature enters the battlefield with three +1/+1 counters on it.)
|
SVar:etbBloodthirst:Event$ Moved | ValidCard$ Card.Self | Destination$ Battlefield | Bloodthirst$ True | ReplaceWith$ BloodthirstCounters | Description$ Bloodthirst 3 (If an opponent was dealt damage this turn, this creature enters the battlefield with three +1/+1 counters on it.)
|
||||||
SVar:VaasgothETB:AB$ ChangeZone | Cost$ 0 | Hidden$ True | Origin$ All | Destination$ Battlefield | Defined$ ReplacedCard | SubAbility$ BloodthirstCounters
|
SVar:BloodthirstCounters:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 3 | SubAbility$ VaasgothETB
|
||||||
SVar:BloodthirstCounters:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 3
|
SVar:VaasgothETB:DB$ ChangeZone | Hidden$ True | Origin$ All | Destination$ Battlefield | Defined$ ReplacedCard
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/bloodlord_of_vaasgoth.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/bloodlord_of_vaasgoth.jpg
|
||||||
Oracle:Bloodthirst 3 (If an opponent was dealt damage this turn, this creature enters the battlefield with three +1/+1 counters on it.)\nFlying\nWhenever you cast a Vampire creature spell, it gains bloodthirst 3.
|
Oracle:Bloodthirst 3 (If an opponent was dealt damage this turn, this creature enters the battlefield with three +1/+1 counters on it.)\nFlying\nWhenever you cast a Vampire creature spell, it gains bloodthirst 3.
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ ManaCost:1 G
|
|||||||
Types:Creature Elf Warrior
|
Types:Creature Elf Warrior
|
||||||
PT:2/2
|
PT:2/2
|
||||||
R:Event$ Moved | ActiveZones$ Battlefield | Destination$ Battlefield | ValidCard$ Creature.Warrior+YouCtrl+Other | ReplaceWith$ AddExtraCounter | Description$ Each other Warrior creature you control enters the battlefield with an additional +1/+1 counter on it.
|
R:Event$ Moved | ActiveZones$ Battlefield | Destination$ Battlefield | ValidCard$ Creature.Warrior+YouCtrl+Other | ReplaceWith$ AddExtraCounter | Description$ Each other Warrior creature you control enters the battlefield with an additional +1/+1 counter on it.
|
||||||
SVar:AddExtraCounter:AB$ PutCounter | Cost$ 0 | Defined$ ReplacedCard | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ MoveToBattlefield
|
SVar:AddExtraCounter:DB$ PutCounter | Defined$ ReplacedCard | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ MoveToBattlefield
|
||||||
SVar:MoveToBattlefield:DB$ ChangeZone | Origin$ All | Destination$ Battlefield | Defined$ ReplacedCard
|
SVar:MoveToBattlefield:DB$ ChangeZone | Origin$ All | Destination$ Battlefield | Defined$ ReplacedCard
|
||||||
S:Mode$ Continuous | Affected$ Creature.YouCtrl+counters_GE1_P1P1 | AddKeyword$ Trample | Description$ Each creature you control with a +1/+1 counter on it has trample.
|
S:Mode$ Continuous | Affected$ Creature.YouCtrl+counters_GE1_P1P1 | AddKeyword$ Trample | Description$ Each creature you control with a +1/+1 counter on it has trample.
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/bramblewood_paragon.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/bramblewood_paragon.jpg
|
||||||
|
|||||||
@@ -3,9 +3,9 @@ ManaCost:2 BG BG
|
|||||||
Types:Creature Treefolk Horror
|
Types:Creature Treefolk Horror
|
||||||
PT:6/6
|
PT:6/6
|
||||||
R:Event$ Moved | ValidCard$ Card.Self | Destination$ Battlefield | ReplaceWith$ ChooseP | Description$ As CARDNAME enters the battlefield, choose an opponent. CARDNAME enters the battlefield with a -1/-1 counter on it for each creature that player controls.
|
R:Event$ Moved | ValidCard$ Card.Self | Destination$ Battlefield | ReplaceWith$ ChooseP | Description$ As CARDNAME enters the battlefield, choose an opponent. CARDNAME enters the battlefield with a -1/-1 counter on it for each creature that player controls.
|
||||||
SVar:ChooseP:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | AILogic$ LeastCreatures | SubAbility$ MoveToPlay
|
SVar:ChooseP:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | AILogic$ LeastCreatures | SubAbility$ DBCounters
|
||||||
SVar:MoveToPlay:DB$ ChangeZone | Defined$ ReplacedCard | Origin$ All | Destination$ Battlefield | SubAbility$ DBCounters
|
SVar:DBCounters:DB$ PutCounter | Defined$ Self | CounterType$ M1M1 | CounterNum$ X | References$ X | SubAbility$ MoveToPlay
|
||||||
SVar:DBCounters:DB$ PutCounter | Defined$ Self | CounterType$ M1M1 | CounterNum$ X | References$ X
|
SVar:MoveToPlay:DB$ ChangeZone | Defined$ ReplacedCard | Origin$ All | Destination$ Battlefield
|
||||||
SVar:X:Count$Valid Creature.ChosenCtrl
|
SVar:X:Count$Valid Creature.ChosenCtrl
|
||||||
SVar:Y:PlayerCountOpponents$LowestValid Creature.YouCtrl
|
SVar:Y:PlayerCountOpponents$LowestValid Creature.YouCtrl
|
||||||
SVar:NeedsToPlayVar:Y LE4
|
SVar:NeedsToPlayVar:Y LE4
|
||||||
|
|||||||
Reference in New Issue
Block a user