mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 05:22:02 -08:00
Implemented Grenzo, Havoc Raiser
This commit is contained in:
parent
2861e5f86f
commit
ebc9b728dd
4 changed files with 277 additions and 39 deletions
|
|
@ -64,36 +64,4 @@ public class GoadTargetEffect extends OneShotEffect {
|
|||
game.addEffect(effect, source);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
/*class CantAttackYouEffect extends RestrictionEffect {
|
||||
|
||||
public CantAttackYouEffect() {
|
||||
super(Duration.UntilYourNextTurn);
|
||||
}
|
||||
|
||||
public CantAttackYouEffect(final CantAttackYouEffect effect) {
|
||||
super(effect);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CantAttackYouEffect copy() {
|
||||
return new CantAttackYouEffect(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean applies(Permanent permanent, Ability source, Game game) {
|
||||
return this.getTargetPointer().getTargets(game, source).contains(permanent.getId());
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canAttack(Permanent attacker, UUID defenderId, Ability source, Game game) {
|
||||
for (UUID player : game.getOpponents(source.getId())) {
|
||||
if (attacker.canAttack(player, game)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue