update cant attack rule
If it says cant attack or cant attack You or PlanesWalker, creatures cant attack a player or planeswalker, If it says cant attack You, creatures cant attack a player only but can attack a PlanesWalker
This commit is contained in:
@@ -1142,6 +1142,8 @@ MTGGameZone * MTGGameZone::intToZone(GameObserver *g, int zoneId, MTGCardInstanc
|
||||
else
|
||||
p2 = target->controller();
|
||||
|
||||
if(p2 != p && p2 != p->opponent())//should match at least one
|
||||
p2 = p;
|
||||
|
||||
MTGGameZone * result = intToZone(zoneId, p, p2);
|
||||
if (result) return result;
|
||||
|
||||
Reference in New Issue
Block a user