- Magic 2010 Rule: removed Manaburn
- Magic 2010 Rule: manapools empty at the end of each step
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-06-14 09:21:49 +00:00
parent 56193a7656
commit f1a3895fc6
7 changed files with 12 additions and 26 deletions
+3 -8
View File
@@ -93,14 +93,9 @@ void GameObserver::nextGamePhase(){
mLayers->actionLayer()->Update(0);
return nextGamePhase();
}
//manaBurn
if (currentGamePhase == Constants::MTG_PHASE_UNTAP ||
currentGamePhase == Constants::MTG_PHASE_FIRSTMAIN ||
currentGamePhase == Constants::MTG_PHASE_COMBATBEGIN ||
currentGamePhase == Constants::MTG_PHASE_SECONDMAIN ||
currentGamePhase == Constants::MTG_PHASE_ENDOFTURN
){
currentPlayer->manaBurn();
for (int i=0; i < 2; i++){
players[i]->getManaPool()->init();
}
//After End of turn
-7
View File
@@ -59,13 +59,6 @@ ManaCost * Player::getManaPool(){
return manaPool;
}
int Player::manaBurn(){
int burn = manaPool->getConvertedCost();
life -= burn;
manaPool->init();
return burn;
}
int Player::testLife(){
if (life <=0){