Laurent - 10E added Demon's Horn, dragon's claw and co. works well you have to click the card to get 1 life as the card state "may"..also added consume spirit (alias of drain life RV)

- ICE complete update, reorganized all cards alphabetically both in cards.dat and todo.dat + some few addition
- tentatively added a generic millstone, first step to add the keyword "deplete" to the parser.. still working on this one.
This commit is contained in:
wagic.laurent
2009-05-20 20:03:51 +00:00
parent dce2adc6fc
commit 215c7448c9
8 changed files with 1150 additions and 2161 deletions
+29 -1
View File
@@ -1129,7 +1129,7 @@ void AbilityFactory::addAbilities(int _id, Spell * spell){
}
case 1126:// Millstone
{
game->addObserver( NEW AMillstone(_id ,card));
game->addObserver( NEW AMillstone(_id ,card));
break;
}
case 1215: //Power Leak
@@ -1179,6 +1179,7 @@ void AbilityFactory::addAbilities(int _id, Spell * spell){
game->addObserver(ability);
break;
}
case 1142: //Wooden Sphere
{
int cost[] = {Constants::MTG_COLOR_ARTIFACT, 1};
@@ -1679,6 +1680,33 @@ void AbilityFactory::addAbilities(int _id, Spell * spell){
game->addObserver(NEW ADamageForTypeControlled(_id, card,"artifact"));
break;
}
//-- addon 10E---
case 129523: //Demon's Horn
{
game->addObserver( NEW ASpellCastLife(_id, card, Constants::MTG_COLOR_BLACK, NEW ManaCost() , 1));
break;
}
case 129527: //Dragon's Claw
{
game->addObserver( NEW ASpellCastLife(_id, card, Constants::MTG_COLOR_RED, NEW ManaCost() , 1));
break;
}
case 129619: //Kraken's Eye
{
game->addObserver( NEW ASpellCastLife(_id, card, Constants::MTG_COLOR_BLUE, NEW ManaCost() , 1));
break;
}
case 129809: //Wurm's Tooth
{
game->addObserver( NEW ASpellCastLife(_id, card, Constants::MTG_COLOR_GREEN, NEW ManaCost() , 1));
break;
}
case 129466: //Angel's Feather
{
game->addObserver( NEW ASpellCastLife(_id, card, Constants::MTG_COLOR_WHITE, NEW ManaCost() , 1));
break;
}
default:
break;
}