- 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:
wagic.the.homebrew
2009-02-11 09:38:20 +00:00
parent 391bdaf0d8
commit 6d1d5d751a
22 changed files with 226 additions and 53 deletions

View File

@@ -272,11 +272,9 @@ void GameObserver::stackObjectClicked(Interruptible * action){
}
void GameObserver::cardClick (MTGCardInstance * card, Targetable * object){
LOG("==GameObserver::cardClick");
if (card) {LOG(card->getName())};
Player * clickedPlayer = NULL;
if (!card) clickedPlayer = ((Player *)object);
if (targetChooser != NULL){
if (targetChooser){
int result;
if (card) {
if (card == cardWaitingForTargets){