mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-14 17:58:01 +00:00
- Fix several Un-cards, add a couple AI hints.
This commit is contained in:
@@ -26,6 +26,8 @@ public class RollDiceAi extends SpellAbilityAi {
|
|||||||
return game.getCombat() != null && (game.getCombat().isAttacking(source) || game.getCombat().isBlocking(source));
|
return game.getCombat() != null && (game.getCombat().isAttacking(source) || game.getCombat().isBlocking(source));
|
||||||
} else if (logic.equals("Main2")) {
|
} else if (logic.equals("Main2")) {
|
||||||
return ph.is(PhaseType.MAIN2, aiPlayer);
|
return ph.is(PhaseType.MAIN2, aiPlayer);
|
||||||
|
} else if (logic.equals("AtOppEOT")) {
|
||||||
|
return ph.getNextTurn() == aiPlayer && ph.is(PhaseType.END_OF_TURN);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cost != null && (sa.getPayCosts().hasManaCost() || sa.getPayCosts().hasTapCost())) {
|
if (cost != null && (sa.getPayCosts().hasManaCost() || sa.getPayCosts().hasTapCost())) {
|
||||||
|
|||||||
@@ -4,6 +4,6 @@ Types:Creature Bird Noble
|
|||||||
PT:2/2
|
PT:2/2
|
||||||
T:Mode$ RolledDie | TriggerZones$ Battlefield | Execute$ TrigCounters | ValidResult$ 6 | TriggerDescription$ Whenever a 6 is rolled on a six-sided die, put a +1/+1 counter on each Bird.
|
T:Mode$ RolledDie | TriggerZones$ Battlefield | Execute$ TrigCounters | ValidResult$ 6 | TriggerDescription$ Whenever a 6 is rolled on a six-sided die, put a +1/+1 counter on each Bird.
|
||||||
SVar:TrigCounters:DB$ PutCounterAll | ValidCards$ Bird | CounterType$ P1P1 | CounterNum$ 1
|
SVar:TrigCounters:DB$ PutCounterAll | ValidCards$ Bird | CounterType$ P1P1 | CounterNum$ 1
|
||||||
A:AB$ RollDice | Cost$ tapXType<1/Bird> | SpellDescription$ Roll a six-sided die.
|
A:AB$ RollDice | Cost$ tapXType<1/Bird> | AILogic$ AtOppEOT | SpellDescription$ Roll a six-sided die.
|
||||||
DeckHas:Ability$Counters
|
DeckHas:Ability$Counters
|
||||||
Oracle:Whenever a 6 is rolled on a six-sided die, put a +1/+1 counter on each Bird. (You may roll dice only when instructed to.)\nTap an untapped Bird you control: Roll a six-sided die. (Like now.)
|
Oracle:Whenever a 6 is rolled on a six-sided die, put a +1/+1 counter on each Bird. (You may roll dice only when instructed to.)\nTap an untapped Bird you control: Roll a six-sided die. (Like now.)
|
||||||
|
|||||||
@@ -4,4 +4,5 @@ Types:Artifact
|
|||||||
A:AB$ FlipACoin | Cost$ 1 | WinSubAbility$ DBMana | SubAbility$ DBAdd0 | InstantSpeed$ True | SpellDescription$ Flip a coin. If you win the flip, add {C}{C}. Activate this ability only any time you could cast an instant.
|
A:AB$ FlipACoin | Cost$ 1 | WinSubAbility$ DBMana | SubAbility$ DBAdd0 | InstantSpeed$ True | SpellDescription$ Flip a coin. If you win the flip, add {C}{C}. Activate this ability only any time you could cast an instant.
|
||||||
SVar:DBMana:DB$ Mana | Produced$ C | Amount$ 2
|
SVar:DBMana:DB$ Mana | Produced$ C | Amount$ 2
|
||||||
SVar:DBAdd0:DB$ Mana | Produced$ C | Amount$ 0
|
SVar:DBAdd0:DB$ Mana | Produced$ C | Amount$ 0
|
||||||
|
AI:RemoveDeck:All
|
||||||
Oracle:{1}: Flip a coin. If you win the flip, add {C}{C}. Activate this ability only any time you could cast an instant.
|
Oracle:{1}: Flip a coin. If you win the flip, add {C}{C}. Activate this ability only any time you could cast an instant.
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ Name:Steel Squirrel
|
|||||||
ManaCost:2
|
ManaCost:2
|
||||||
Types:Artifact Creature Squirrel
|
Types:Artifact Creature Squirrel
|
||||||
PT:1/1
|
PT:1/1
|
||||||
T:Mode$ RolledDie | Execute$ TrigPump | ValidPlayer$ You | ValidResult$ GE5 | TriggerDescription$ Whenever you roll a 5 or higher on a die, CARDNAME gets +X/+X until end of turn, where X is the result.
|
T:Mode$ RolledDie | Execute$ TrigPump | ValidPlayer$ You | ValidResult$ GE5 | TriggerZones$ Battlefield | TriggerDescription$ Whenever you roll a 5 or higher on a die, CARDNAME gets +X/+X until end of turn, where X is the result.
|
||||||
SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | NumDef$ X
|
SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | NumDef$ X
|
||||||
SVar:X:TriggerCount$Result
|
SVar:X:TriggerCount$Result
|
||||||
A:AB$ RollDice | Cost$ 6 | AILogic$ Combat | SpellDescription$ Roll a six-sided die.
|
A:AB$ RollDice | Cost$ 6 | AILogic$ Combat | SpellDescription$ Roll a six-sided die.
|
||||||
|
|||||||
Reference in New Issue
Block a user