Squirrel Powered Scheme set to ignore planar dies

This commit is contained in:
Zzooouhh 2017-12-30 12:43:10 +01:00 committed by GitHub
parent 2f001cb2c4
commit b05754bd61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,7 +87,8 @@ class SquirrelPoweredSchemeEffect extends ReplacementEffectImpl {
@Override
public boolean applies(GameEvent event, Ability source, Game game) {
return source.getControllerId().equals(event.getPlayerId());
// ignore planar dies (dice roll amount of planar dies is equal to 0)
return event.getAmount() > 0 && source.getControllerId().equals(event.getPlayerId());
}
@Override