moved all basic MTG related rules out of the engine and into rules.txt.

this allows users to create a mod without having to struggle with avoiding certain phase based or cost actions.
attackrule and attacker phase can be seperated now by not including auto=attackrule in your rules.txt....this means you can still have an attackers phase, but clicking the cards won't put the cards into attacker mode or add "attacker" to thier menu abilities. ect...

this also allows us to eventaully change/add to these base rules without having to create entirely new rules for them by modifying the base classes with new variables and so on.

IMPORTANT: UPDATE YOUR RULES FOLDER, OR NOTHING WILL WORK FOR YOU.
This commit is contained in:
omegablast2002@yahoo.com
2011-10-03 13:13:37 +00:00
parent 74f17946c9
commit fe91960980
3 changed files with 150 additions and 24 deletions
+1 -1
View File
@@ -578,7 +578,7 @@ int ActionStack::setIsInterrupting(Player * player)
return 0;
}
// Is it a valid interruption request, or is uninterruptible stuff going on in the game?
//Is it a valid interruption request, or is uninterruptible stuff going on in the game?
if (observer->getCurrentTargetChooser())
{
DebugTrace("ActionStack: WARNING - We were asked to interrupt, During Targetchoosing" << endl