Erwan
- bug fixes (civic wayfinder, fault line) - target's quad is displayed for generictargetabilities - added menutext for powertoughnessmodifier
This commit is contained in:
@@ -1062,6 +1062,12 @@ class AInstantPowerToughnessModifierUntilEOT: public InstantAbility{
|
||||
return 1;
|
||||
}
|
||||
|
||||
const char * getMenuText(){
|
||||
char buffer[4096];
|
||||
sprintf(buffer, "%i/%i",power,toughness);
|
||||
return buffer;
|
||||
}
|
||||
|
||||
virtual ostream& toString(ostream& out) const
|
||||
{
|
||||
out << "APowerToughnessModifierUntilEndOfTurn ::: power : " << power
|
||||
@@ -1101,6 +1107,10 @@ class APowerToughnessModifierUntilEndOfTurn: public ActivatedAbility{
|
||||
return resolve();
|
||||
}
|
||||
|
||||
const char * getMenuText(){
|
||||
return ability->getMenuText();
|
||||
}
|
||||
|
||||
int isReactingToClick(MTGCardInstance * card, ManaCost * mana = NULL){
|
||||
if (!ActivatedAbility::isReactingToClick(card,mana)) return 0;
|
||||
return (!maxcounters || (counters < maxcounters));
|
||||
|
||||
Reference in New Issue
Block a user