22 lines
668 B
Groovy
22 lines
668 B
Groovy
[
|
|
new MagicStatic(
|
|
MagicLayer.ModPT,
|
|
MagicTargetFilter.TARGET_CREATURE) {
|
|
@Override
|
|
public void modPowerToughness(
|
|
final MagicPermanent source,
|
|
final MagicPermanent permanent,
|
|
final MagicPowerToughness pt) {
|
|
pt.add(1,1);
|
|
}
|
|
@Override
|
|
public boolean condition(
|
|
final MagicGame game,
|
|
final MagicPermanent source,
|
|
final MagicPermanent target) {
|
|
return source.getEquippedCreature().hasSubType(MagicSubType.Human) &&
|
|
target == source.getEquippedCreature();
|
|
}
|
|
}
|
|
]
|