diff --git a/release/Magarena/scripts/Chaos_Imps.groovy b/release/Magarena/scripts/Chaos_Imps.groovy new file mode 100644 index 0000000000..5dfc7b43d6 --- /dev/null +++ b/release/Magarena/scripts/Chaos_Imps.groovy @@ -0,0 +1,15 @@ +[ + new MagicStatic(MagicLayer.Ability) { + @Override + public void modAbilityFlags( + final MagicPermanent source, + final MagicPermanent permanent, + final Set flags) { + flags.add(MagicAbility.Trample); + } + @Override + public boolean condition(final MagicGame game,final MagicPermanent source,final MagicPermanent target) { + return source.getCounters(MagicCounterType.PlusOne) > 0; + } + } +] diff --git a/release/Magarena/scripts/Chaos_Imps.txt b/release/Magarena/scripts/Chaos_Imps.txt new file mode 100644 index 0000000000..17b3932757 --- /dev/null +++ b/release/Magarena/scripts/Chaos_Imps.txt @@ -0,0 +1,12 @@ +name=Chaos Imps +url=http://magiccards.info/rtr/en/90.html +image=http://magiccards.info/scans/en/rtr/90.jpg +value=3.037 +rarity=R +type=Creature +subtype=Imp +cost={4}{R}{R} +pt=6/5 +ability=flying,unleash +timing=main +requires_groovy_code