mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
[BLB] Implement Blacksmith's Talent
This commit is contained in:
parent
5ae583180d
commit
f3d5f6d06a
3 changed files with 151 additions and 0 deletions
31
Mage/src/main/java/mage/game/permanent/token/SwordToken.java
Normal file
31
Mage/src/main/java/mage/game/permanent/token/SwordToken.java
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
package mage.game.permanent.token;
|
||||
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.effects.common.continuous.BoostEquippedEffect;
|
||||
import mage.abilities.keyword.EquipAbility;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class SwordToken extends TokenImpl {
|
||||
|
||||
public SwordToken() {
|
||||
super("Sword", "colorless Equipment artifact token named Sword with \"Equipped creature gets +1/+1\" and equip {2}");
|
||||
cardType.add(CardType.ARTIFACT);
|
||||
subtype.add(SubType.EQUIPMENT);
|
||||
|
||||
this.addAbility(new SimpleStaticAbility(new BoostEquippedEffect(1, 1)));
|
||||
|
||||
this.addAbility(new EquipAbility(2));
|
||||
}
|
||||
|
||||
private SwordToken(final SwordToken token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
public SwordToken copy() {
|
||||
return new SwordToken(this);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue