Add script for Clout of the Dominus
parent
c3d4b96f5d
commit
0c1cbce139
|
@ -0,0 +1,43 @@
|
|||
[
|
||||
new MagicStatic(MagicLayer.ModPT) {
|
||||
@Override
|
||||
public void modPowerToughness(final MagicPermanent source, final MagicPermanent permanent, final MagicPowerToughness pt) {
|
||||
pt.add(1, 1);
|
||||
}
|
||||
@Override
|
||||
public boolean accept(final MagicGame game,final MagicPermanent source,final MagicPermanent target) {
|
||||
return MagicStatic.acceptLinked(game, source, target) && target.hasColor(MagicColor.Red);
|
||||
}
|
||||
},
|
||||
new MagicStatic(MagicLayer.Ability) {
|
||||
@Override
|
||||
public void modAbilityFlags(final MagicPermanent source, final MagicPermanent permanent, final Set<MagicAbility> flags) {
|
||||
flags.add(MagicAbility.Haste);
|
||||
}
|
||||
@Override
|
||||
public boolean accept(final MagicGame game,final MagicPermanent source,final MagicPermanent target) {
|
||||
return MagicStatic.acceptLinked(game, source, target) && target.hasColor(MagicColor.Red);
|
||||
}
|
||||
},
|
||||
new MagicStatic(MagicLayer.ModPT) {
|
||||
@Override
|
||||
public void modPowerToughness(final MagicPermanent source, final MagicPermanent permanent, final MagicPowerToughness pt) {
|
||||
pt.add(1, 1);
|
||||
}
|
||||
@Override
|
||||
public boolean accept(final MagicGame game,final MagicPermanent source,final MagicPermanent target) {
|
||||
return MagicStatic.acceptLinked(game, source, target) && target.hasColor(MagicColor.Blue);
|
||||
}
|
||||
},
|
||||
new MagicStatic(MagicLayer.Ability) {
|
||||
@Override
|
||||
public void modAbilityFlags(final MagicPermanent source, final MagicPermanent permanent, final Set<MagicAbility> flags) {
|
||||
flags.add(MagicAbility.Shroud);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean accept(final MagicGame game,final MagicPermanent source,final MagicPermanent target) {
|
||||
return MagicStatic.acceptLinked(game, source, target) && target.hasColor(MagicColor.Blue);
|
||||
}
|
||||
}
|
||||
]
|
|
@ -0,0 +1,11 @@
|
|||
name=Clout of the Dominus
|
||||
url=http://magiccards.info/eve/en/99.html
|
||||
image=http://magiccards.info/scans/en/eve/99.jpg
|
||||
value=4.168
|
||||
rarity=C
|
||||
type=Enchantment
|
||||
subtype=Aura
|
||||
cost={U/R}
|
||||
timing=enchantment
|
||||
enchant=pump,pos creature
|
||||
requires_groovy_code
|
Loading…
Reference in New Issue