mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
Merge pull request #5256 from kevinwshin/FixVarchildBetrayerofKjeldor5245
Fixes Varchild, Betrayer of Kjeldor
This commit is contained in:
commit
30d4da9e76
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ import mage.abilities.common.DealsCombatDamageToAPlayerTriggeredAbility;
|
||||||
import mage.abilities.common.LeavesBattlefieldTriggeredAbility;
|
import mage.abilities.common.LeavesBattlefieldTriggeredAbility;
|
||||||
import mage.abilities.common.SimpleStaticAbility;
|
import mage.abilities.common.SimpleStaticAbility;
|
||||||
import mage.abilities.effects.OneShotEffect;
|
import mage.abilities.effects.OneShotEffect;
|
||||||
import mage.abilities.effects.common.CreateTokenTargetEffect;
|
import mage.abilities.effects.common.CreateTokenEffect;
|
||||||
import mage.abilities.effects.common.combat.CantAttackYouOrPlaneswalkerAllEffect;
|
import mage.abilities.effects.common.combat.CantAttackYouOrPlaneswalkerAllEffect;
|
||||||
import mage.abilities.effects.common.combat.CantBlockAllEffect;
|
import mage.abilities.effects.common.combat.CantBlockAllEffect;
|
||||||
import mage.abilities.effects.common.continuous.GainControlAllEffect;
|
import mage.abilities.effects.common.continuous.GainControlAllEffect;
|
||||||
|
@ -108,7 +108,7 @@ class VarchildBetrayerOfKjeldorEffect extends OneShotEffect {
|
||||||
public boolean apply(Game game, Ability source) {
|
public boolean apply(Game game, Ability source) {
|
||||||
int damage = (int) this.getValue("damage");
|
int damage = (int) this.getValue("damage");
|
||||||
if (damage > 0) {
|
if (damage > 0) {
|
||||||
return new CreateTokenTargetEffect(
|
return new CreateTokenEffect(
|
||||||
new SurvivorToken(), damage
|
new SurvivorToken(), damage
|
||||||
).apply(game, source);
|
).apply(game, source);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue