replace groovy script with ability in card script

master
melvin 2013-08-27 10:28:45 +08:00
parent fb0a702e67
commit 1b8f65638d
2 changed files with 2 additions and 16 deletions

View File

@ -1,14 +0,0 @@
[
new MagicStatic(
MagicLayer.Ability,
MagicTargetFilter.TARGET_SOLDIER_YOU_CONTROL) {
@Override
public void modAbilityFlags(final MagicPermanent source,final MagicPermanent permanent,final Set<MagicAbility> flags) {
flags.add(MagicAbility.FirstStrike);
}
@Override
public boolean condition(final MagicGame game,final MagicPermanent source,final MagicPermanent target) {
return source != target;
}
}
]

View File

@ -7,6 +7,6 @@ type=Creature
subtype=Rhino,Soldier
cost={2}{W}{W}
pt=3/3
ability=first strike
ability=first strike,lord other soldier creatures you control have first strike
static=player
timing=main
requires_groovy_code