- Added a few "stats" to the main menu. This might slow down loading times on the PSP (needs testing). In that case I'll move it to the options, or optimize it if needed
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-05-19 13:45:53 +00:00
parent f32f5f3793
commit f50d7e30d4
19 changed files with 261 additions and 39 deletions
+1 -28
View File
@@ -938,12 +938,7 @@ void AbilityFactory::addAbilities(int _id, Spell * spell){
game->addObserver(NEW AConservator(_id,card));
break;
}
/* case 1196: //Counterspell
{
Spell * starget = spell->getNextSpellTarget();
if (starget) game->mLayers->stackLayer()->Fizzle(starget);
break;
} */
case 1197: //Creature Bond
{
game->addObserver(NEW ACreatureBond(_id,card, card->target));
@@ -1593,34 +1588,12 @@ void AbilityFactory::addAbilities(int _id, Spell * spell){
}
//Addons ICE-AGE Cards
case 2650: //Pyroclasm Need to be improved copied from hurricane with does 0 dammage to player and does 2 dammage to each creature
{
int x = 2;
for (int i = 0; i < 2 ; i++){
game->mLayers->stackLayer()->addDamage(card, game->players[i], 0);// To be removed ?
for (int j = 0; j < game->players[i]->game->inPlay->nb_cards; j++){
MTGCardInstance * current = game->players[i]->game->inPlay->cards[j];
if (current->isACreature()){
game->mLayers->stackLayer()->addDamage(card, current, x);
}
}
}
break;
}
case 2660: //Word of Blasting
{
card->target->controller()->game->putInGraveyard(card->target);
card->target->controller()->life-= card->target->getManaCost()->getConvertedCost();
break;
}
case 2443: //Dark Banishing
{
if (card->target->hasColor(Constants::MTG_COLOR_BLACK)){
}else{
card->target->controller()->game->putInGraveyard(card->target);
}
break;
}
case 2593: //Thoughtleech
{
game->addObserver(NEW AGiveLifeForTappedType (_id, card, "island"));