fixed Varchild creating tokens under the wrong player's control

This commit is contained in:
Evan Kranzler 2018-09-10 20:35:29 -04:00
parent b94f1aec2f
commit b5e042ee43

View file

@ -7,7 +7,7 @@ import mage.abilities.common.DealsCombatDamageToAPlayerTriggeredAbility;
import mage.abilities.common.LeavesBattlefieldTriggeredAbility;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.effects.OneShotEffect;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.effects.common.CreateTokenTargetEffect;
import mage.abilities.effects.common.combat.CantAttackYouOrPlaneswalkerAllEffect;
import mage.abilities.effects.common.combat.CantBlockAllEffect;
import mage.abilities.effects.common.continuous.GainControlAllEffect;
@ -108,7 +108,7 @@ class VarchildBetrayerOfKjeldorEffect extends OneShotEffect {
public boolean apply(Game game, Ability source) {
int damage = (int) this.getValue("damage");
if (damage > 0) {
return new CreateTokenEffect(
return new CreateTokenTargetEffect(
new SurvivorToken(), damage
).apply(game, source);
}