Erwan
- new Ability : ALifeGiver (bottle gnomes) - Added a few cards from Tempest - Hybrid mana fix for hybrid mana involving uncolored mana costs (see tests/generic/hybridmana2.txt - spectral possession) - Fixed bugs with targetting for TargetAbilities - Fixed multiple sacrifice abilities cost (Siege gang commander, see tests) - Fixed a small font issue
This commit is contained in:
@@ -21,6 +21,9 @@ int MTGPutInPlayRule::isReactingToClick(MTGCardInstance * card){
|
||||
LOG("CANPUTINPLAY- correct time to play\n");
|
||||
ManaCost * playerMana = player->getManaPool();
|
||||
ManaCost * cost = card->getManaCost();
|
||||
#ifdef WIN32
|
||||
cost->Dump();
|
||||
#endif
|
||||
if (playerMana->canAfford(cost)){
|
||||
LOG("CANPUTINPLAY- ManaCost ok\n");
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user