mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 19:41:59 -08:00
* Fervent Champion - Fixed that it's possible to equip the Champion also without having the regular mana (#6698).
This commit is contained in:
parent
6e68e038b6
commit
82dfd76ee3
4 changed files with 58 additions and 13 deletions
|
|
@ -0,0 +1,44 @@
|
|||
/*
|
||||
* To change this license header, choose License Headers in Project Properties.
|
||||
* To change this template file, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
package org.mage.test.cards.cost.modification;
|
||||
|
||||
import mage.constants.PhaseStep;
|
||||
import mage.constants.Zone;
|
||||
import org.junit.Test;
|
||||
import org.mage.test.serverside.base.CardTestPlayerBase;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author LevelX2
|
||||
*/
|
||||
|
||||
public class FerventChampionTest extends CardTestPlayerBase {
|
||||
|
||||
@Test
|
||||
public void testFerventChampion() {
|
||||
setStrictChooseMode(true);
|
||||
// First strike, Haste
|
||||
// Whenever Fervent Champion attacks, another target attacking Knight you control gets +1/+0 until end of turn.
|
||||
// Equip abilities you activate that target Fervent Champion cost {3} less to activate.
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Fervent Champion");
|
||||
|
||||
// Equipped creature gets +2/+2 and has protection from red and from blue.
|
||||
// Whenever equipped creature deals combat damage to a player, Sword of Fire
|
||||
// and Ice deals 2 damage to any target and you draw a card.
|
||||
// Equip {2}
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Sword of Fire and Ice", 1);
|
||||
|
||||
activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Equip");
|
||||
addTarget(playerA, "Fervent Champion");
|
||||
|
||||
setStopAt(1, PhaseStep.BEGIN_COMBAT);
|
||||
execute();
|
||||
|
||||
assertAllCommandsUsed();
|
||||
|
||||
assertPowerToughness(playerA, "Fervent Champion", 3,3);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue