Crew Ability Cost & Crewbonus
Revised cards to use {crew(targetchooser)} (modified taptargetcost) so
it can use crewbonus ability from other creatures.
This commit is contained in:
@@ -875,6 +875,16 @@ private:
|
||||
else
|
||||
intValue = 0;
|
||||
}
|
||||
else if (s == "crewtotalpower")//crew count total power
|
||||
{
|
||||
intValue = 0;
|
||||
for (int j = card->controller()->game->battlefield->nb_cards - 1; j >= 0; --j)
|
||||
{
|
||||
MTGCardInstance * crew = card->controller()->game->battlefield->cards[j];
|
||||
if (crew != card && crew->isCreature() && !crew->isTapped() && !crew->has(Constants::CANTCREW))
|
||||
intValue += crew->power;
|
||||
}
|
||||
}
|
||||
else if (s == "pancientooze")//Ancient Ooze
|
||||
{
|
||||
intValue = 0;
|
||||
|
||||
Reference in New Issue
Block a user