Fix for Herald's Horn's spell reduction

Correctly reduces chosen type of controlled spells again after change in last release.
As mentioned multiple times in #4895.
This commit is contained in:
Michael Simons 2018-05-13 00:23:07 -04:00 committed by GitHub
parent f021951578
commit 1c3fea2e3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -142,7 +142,7 @@ public class SpellsCostReductionAllEffect extends CostModificationEffectImpl {
@Override
public boolean applies(Ability abilityToModify, Ability source, Game game) {
if (onlyControlled && abilityToModify.getControllerId().equals(source.getControllerId())) {
if (onlyControlled && !abilityToModify.getControllerId().equals(source.getControllerId())) {
return false;
}
if (abilityToModify instanceof SpellAbility) {