mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 21:42:07 -08:00
[CMR] Implemented Frenzied Saddlebrute
This commit is contained in:
parent
319775c0b4
commit
17169e0bec
3 changed files with 74 additions and 2 deletions
|
|
@ -1,5 +1,6 @@
|
|||
package mage.game.permanent;
|
||||
|
||||
import mage.ApprovingObject;
|
||||
import mage.MageObject;
|
||||
import mage.MageObjectReference;
|
||||
import mage.ObjectColor;
|
||||
|
|
@ -1220,8 +1221,10 @@ public abstract class PermanentImpl extends CardImpl implements Permanent {
|
|||
|
||||
@Override
|
||||
public boolean canAttackInPrinciple(UUID defenderId, Game game) {
|
||||
if (hasSummoningSickness()
|
||||
&& null == game.getContinuousEffects().asThough(this.objectId, AsThoughEffectType.ATTACK_AS_HASTE, null, this.getControllerId(), game)) {
|
||||
ApprovingObject approvingObject = game.getContinuousEffects().asThough(
|
||||
this.objectId, AsThoughEffectType.ATTACK_AS_HASTE, null, defenderId, game
|
||||
);
|
||||
if (hasSummoningSickness() && approvingObject == null) {
|
||||
return false;
|
||||
}
|
||||
//20101001 - 508.1c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue