multicolor correction

not multicolored is single colored or monocolored not colorless...
colorless has no color...
This commit is contained in:
Anthony Calosa
2015-08-31 19:06:51 +08:00
parent 7c3f15f79b
commit 29ac95362d
3 changed files with 3 additions and 1 deletions

View File

@@ -35578,7 +35578,7 @@ toughness=3
[/card]
[card]
name=Furnace Celebration
auto=@sacrificed(other *|mybattlefield):pay({2}) damage:2 target(creature,player)
auto=@sacrificed(other *|mybattlefield):ability$!name(pay 2 for damage) pay[[{2}]] name(pay 2 for damage) damage:2 target(creature,player)!$ controller
mana={1}{R}{R}
type=Enchantment
text=Whenever you sacrifice another permanent, you may pay {2}. If you do, Furnace Celebration deals 2 damage to target creature or player.

View File

@@ -1242,6 +1242,7 @@ bool CardGui::FilterCard(MTGCard * _card,string filter)
if (minus)
{
cd.setisMultiColored(-1);
cd.SetExclusionColor(0);//not multicolored is monocolored not colorless, use iscolorless attribute
}
else
{

View File

@@ -503,6 +503,7 @@ TargetChooser * TargetChooserFactory::createTargetChooser(string s, MTGCardInsta
if (minus)
{
cd->setisMultiColored(-1);
cd->SetExclusionColor(0);//not multicolored is monocolored not colorless, use iscolorless attribute
}
else
{