mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
* Cabal Slaver - Fixed that the discard effect for damaged opponents did not work.
This commit is contained in:
parent
2c4d23bbb4
commit
22adee71ca
2 changed files with 11 additions and 11 deletions
|
|
@ -43,6 +43,7 @@ import mage.filter.predicate.mageobject.SubtypePredicate;
|
|||
* @author markedagain
|
||||
*/
|
||||
public class CabalSlaver extends CardImpl {
|
||||
|
||||
private static final FilterPermanent filter = new FilterPermanent("Goblin");
|
||||
|
||||
static {
|
||||
|
|
@ -58,7 +59,7 @@ public class CabalSlaver extends CardImpl {
|
|||
this.toughness = new MageInt(1);
|
||||
|
||||
// Whenever a Goblin deals combat damage to a player, that player discards a card.
|
||||
this.addAbility(new DealsDamageToAPlayerAllTriggeredAbility(new DiscardTargetEffect(1),filter, false, SetTargetPointer.NONE, true));
|
||||
this.addAbility(new DealsDamageToAPlayerAllTriggeredAbility(new DiscardTargetEffect(1), filter, false, SetTargetPointer.PLAYER, true));
|
||||
}
|
||||
|
||||
public CabalSlaver(final CabalSlaver card) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue