mirror of
https://github.com/magefree/mage.git
synced 2025-12-30 07:22:03 -08:00
MBS (sorry for strange username, works from wife's notebook)
This commit is contained in:
parent
5fe4ba8fc1
commit
580dfadbef
5 changed files with 298 additions and 0 deletions
26
Mage/src/mage/abilities/keyword/BattleCryAbility.java
Normal file
26
Mage/src/mage/abilities/keyword/BattleCryAbility.java
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
package mage.abilities.keyword;
|
||||
|
||||
import mage.Constants;
|
||||
import mage.abilities.common.AttacksTriggeredAbility;
|
||||
import mage.abilities.effects.common.continious.BoostControlledEffect;
|
||||
import mage.filter.common.FilterAttackingCreature;
|
||||
|
||||
public class BattleCryAbility extends AttacksTriggeredAbility {
|
||||
public BattleCryAbility() {
|
||||
super(new BoostControlledEffect(1, 0, Constants.Duration.EndOfTurn, new FilterAttackingCreature(), true), false);
|
||||
}
|
||||
|
||||
public BattleCryAbility(final BattleCryAbility ability) {
|
||||
super(ability);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getRule() {
|
||||
return "Battle cry (Whenever this creature attacks, each other attacking creature gets +1/+0 until end of turn.)";
|
||||
}
|
||||
|
||||
@Override
|
||||
public BattleCryAbility copy() {
|
||||
return new BattleCryAbility(this);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue