mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- Better script for Price of Glory
This commit is contained in:
@@ -178,12 +178,11 @@ public class AiController {
|
||||
|
||||
private boolean checkCurseEffects() {
|
||||
for (final Card c : game.getCardsIn(ZoneType.Battlefield)) {
|
||||
for (Trigger t : c.getTriggers()) {
|
||||
if (t.getMapParams().containsKey("CurseNonActive")
|
||||
if (c.hasSVar("CurseNonActiveEffect")
|
||||
&& !player.equals(game.getPhaseHandler().getPlayerTurn())) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
Name:Price of Glory
|
||||
ManaCost:2 R
|
||||
Types:Enchantment
|
||||
T:Mode$ TapsForMana | ValidCard$ Land | Execute$ TrigDestroy | TriggerZones$ Battlefield | Activator$ Player.NonActive | CurseNonActive$ True | TriggerDescription$ Whenever a player taps a land for mana, if it's not that player's turn, destroy that land.
|
||||
T:Mode$ TapsForMana | ValidCard$ Land | Execute$ TrigDestroy | TriggerZones$ Battlefield | Activator$ Player.NonActive | TriggerDescription$ Whenever a player taps a land for mana, if it's not that player's turn, destroy that land.
|
||||
SVar:TrigDestroy:DB$ Destroy | Defined$ TriggeredCard
|
||||
SVar:CurseNonActiveEffect:True
|
||||
SVar:RemAIDeck:True
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/price_of_glory.jpg
|
||||
Oracle:Whenever a player taps a land for mana, if it's not that player's turn, destroy that land.
|
||||
|
||||
Reference in New Issue
Block a user