mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
- Added Thran Turbine
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -11231,6 +11231,7 @@ res/cardsfolder/t/thran_golem.txt svneol=native#text/plain
|
||||
res/cardsfolder/t/thran_lens.txt svneol=native#text/plain
|
||||
res/cardsfolder/t/thran_quarry.txt svneol=native#text/plain
|
||||
res/cardsfolder/t/thran_tome.txt -text
|
||||
res/cardsfolder/t/thran_turbine.txt -text
|
||||
res/cardsfolder/t/thran_war_machine.txt svneol=native#text/plain
|
||||
res/cardsfolder/t/thran_weaponry.txt -text svneol=unset#text/plain
|
||||
res/cardsfolder/t/thrashing_mossdog.txt -text
|
||||
|
||||
11
res/cardsfolder/t/thran_turbine.txt
Normal file
11
res/cardsfolder/t/thran_turbine.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
Name:Thran Turbine
|
||||
ManaCost:1
|
||||
Types:Artifact
|
||||
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | OptionalDecider$ You | TriggerZones$ Battlefield | Execute$ ChooseAmount | TriggerDescription$ At the beginning of your upkeep, you may add 1 or 2 to your mana pool. You can't spend this mana to cast spells.
|
||||
SVar:ChooseAmount:DB$ ChooseNumber | Min$ 0 | Max$ 2 | ListTitle$ Choose the amount of mana | SubAbility$ DBMana
|
||||
SVar:DBMana:DB$ Mana | Amount$ X | References$ X | Produced$ 1 | RestrictValid$ nonSpell
|
||||
SVar:X:Count$ChosenNumber
|
||||
SVar:RemAIDeck:True
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/thran_turbine.jpg
|
||||
Oracle:At the beginning of your upkeep, you may add {1} or {2} to your mana pool. You can't spend this mana to cast spells.
|
||||
SetInfo:USG Uncommon
|
||||
@@ -175,6 +175,10 @@ public class AbilityManaPart implements java.io.Serializable {
|
||||
|
||||
// Loop over restrictions
|
||||
for (String restriction : this.manaRestrictions.split(",")) {
|
||||
if (restriction.equals("nonSpell")) {
|
||||
return !sa.isSpell();
|
||||
}
|
||||
|
||||
if (restriction.startsWith("CostContainsX")) {
|
||||
if (sa.isXCost()) {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user