diff --git a/projects/mtg/bin/Res/sets/10E/_cards.dat b/projects/mtg/bin/Res/sets/10E/_cards.dat index c96b544a6..05e56c576 100644 --- a/projects/mtg/bin/Res/sets/10E/_cards.dat +++ b/projects/mtg/bin/Res/sets/10E/_cards.dat @@ -407,6 +407,17 @@ power=4 subtype=Golem toughness=4 [/card] +[card]text=Trample (If this creature would deal enough combat damage to its blockers to destroy them, you may have it deal the rest of its damage to defending player.) Colossus of Sardia doesn't untap during your untap step. {9}: Untap Colossus of Sardia. Play this ability only during your upkeep. +id=135268 +name=Colossus of Sardia +rarity=R +color=Artifact +type=Artifact Creature +mana={9} +power=9 +subtype=Golem +toughness=9 +[/card] [card] text=Draw two cards. auto=draw:2 @@ -2300,6 +2311,16 @@ subtype=Drake toughness=2 [/card] [card] +text=As an additional cost to play Soulblast, sacrifice all creatures you control. Soulblast deals damage to target creature or player equal to the total power of the sacrificed creatures. +id=130369 +target=creature,player +name=Soulblast +rarity=R +color=Red +type=Instant +mana={3}{R}{R}{R} +[/card] +[card] text=Target player loses 4 life and you gain 4 life. id=129739 name=Soul Feast @@ -2447,7 +2468,6 @@ type=Land text=Sudden Impact deals damage equal to the number of cards in target player's hand to that player. id=129750 target=player -target=player name=Sudden Impact rarity=U color=Red diff --git a/projects/mtg/bin/Res/sets/10E/todo.dat b/projects/mtg/bin/Res/sets/10E/todo.dat index a489f31bd..f758dfa2b 100644 --- a/projects/mtg/bin/Res/sets/10E/todo.dat +++ b/projects/mtg/bin/Res/sets/10E/todo.dat @@ -1131,6 +1131,7 @@ toughness=1 [card] text=As an additional cost to play Soulblast, sacrifice all creatures you control. Soulblast deals damage to target creature or player equal to the total power of the sacrificed creatures. id=130369 +target=creature,player name=Soulblast rarity=R color=Red diff --git a/projects/mtg/src/MTGAbility.cpp b/projects/mtg/src/MTGAbility.cpp index 79618014e..4d0a1f34a 100644 --- a/projects/mtg/src/MTGAbility.cpp +++ b/projects/mtg/src/MTGAbility.cpp @@ -1933,6 +1933,21 @@ void AbilityFactory::addAbilities(int _id, Spell * spell){ break; } + case 130369: // Soulblast + { + int damage = 0; + Damageable * target = spell->getNextDamageableTarget(); + GameObserver * game = GameObserver::GetInstance(); + for (int j = 0; j < card->controller()->game->inPlay->nb_cards; j++){ + MTGCardInstance * current = card->controller()->game->inPlay->cards[j]; + if (current->hasType("Creature")){ + card->controller()->game->putInGraveyard(current); + damage+= current->power; + } + } + game->mLayers->stackLayer()->addDamage(card, target, damage); + break; + } //--- addon shm---