Erwan
- fixed issue 595 (MaxCast not working). Root cause was the stupidest typo ever in the code (maxCost instead of maxCast...) - fixed an issue with Storm mentioned by zethfox (was counting only spells played by current player) - Moved "max lands per turn" rule outside of the code (yay!) Please be sure to update your Rules folder!
This commit is contained in:
@@ -260,10 +260,7 @@ void MTGPlayerCards::init()
|
||||
garbage = NEW MTGGameZone();
|
||||
temp = NEW MTGGameZone();
|
||||
|
||||
//This is a Rule that should ideally be moved as an ability in the game...
|
||||
playRestrictions = NEW PlayRestrictions();
|
||||
TargetChooser * tc = NEW TypeTargetChooser("land");
|
||||
playRestrictions->addRestriction(NEW MaxPerTurnRestriction(PlayRestriction::LANDS_RULE_ID, tc, 1, inPlay));
|
||||
}
|
||||
|
||||
void MTGPlayerCards::showHand()
|
||||
|
||||
Reference in New Issue
Block a user