Fixed Loxodon Lifechanter

This commit is contained in:
valfieri
2019-09-16 20:57:51 +02:00
parent 4ce2a5c36e
commit 43be15e832
2 changed files with 15 additions and 5 deletions
+5 -4
View File
@@ -421,8 +421,9 @@ toughness=1
[/card] [/card]
[card] [card]
name=Loxodon Lifechanter name=Loxodon Lifechanter
auto={5}{W}:thisforeach(controllerlife) 1/1 auto=may lifeset:toughnesstotalinplay controller
text=When Loxodon Lifechanter enters the battlefield, you may have your life total become the total toughness of creatures you control. -- 5{W}: Loxodon Lifechanter gets +X/+X until end of turn, where X is your life total. auto={5}{W}:lifetotal/lifetotal ueot
text=When Loxodon Lifechanter enters the battlefield, you may have your life total become the total toughness of creatures you control. -- {5}{W}: Loxodon Lifechanter gets +X/+X until end of turn, where X is your life total.
mana={5}{W} mana={5}{W}
type=Creature type=Creature
subtype=Elephant Cleric subtype=Elephant Cleric
@@ -973,7 +974,7 @@ toughness=2
[card] [card]
name=Bloodthirsty Aerialist name=Bloodthirsty Aerialist
abilities=flying abilities=flying
auto=@lifeof(player) except(Angel of Vitality): counter(1/1,1) auto=@lifeof(player): counter(1/1,1)
text=Flying -- Whenever you gain life, put a +1/+1 counter on Bloodthirsty Aerialist. text=Flying -- Whenever you gain life, put a +1/+1 counter on Bloodthirsty Aerialist.
mana={1}{B}{B} mana={1}{B}{B}
type=Creature type=Creature
@@ -1626,7 +1627,7 @@ toughness=2
[/card] [/card]
[card] [card]
name=Twinblade Paladin name=Twinblade Paladin
auto=@lifeof(player) except(Angel of Vitality): counter(1/1) auto=@lifeof(player): counter(1/1)
auto=this(controllerlife > 24) double strike auto=this(controllerlife > 24) double strike
text=Whenever you gain life, put a +1/+1 counter on Twinblade Paladin. -- As long as you have 25 or more life, Twinblade Paladin has double strike. (It deals both first-strike and regular combat damage.) text=Whenever you gain life, put a +1/+1 counter on Twinblade Paladin. -- As long as you have 25 or more life, Twinblade Paladin has double strike. (It deals both first-strike and regular combat damage.)
mana={3}{W} mana={3}{W}
+10 -1
View File
@@ -998,7 +998,16 @@ private:
for (int j = card->controller()->game->inPlay->nb_cards - 1; j >= 0; --j) for (int j = card->controller()->game->inPlay->nb_cards - 1; j >= 0; --j)
{ {
if (card->controller()->game->inPlay->cards[j]->hasType(Subtypes::TYPE_CREATURE)) if (card->controller()->game->inPlay->cards[j]->hasType(Subtypes::TYPE_CREATURE))
intValue += card->controller()->game->inPlay->cards[j]->power; intValue += card->controller()->game->inPlay->cards[j]->getCurrentPower();
}
}
else if (s == "toughnesstotalinplay")//Count Total toughness of Creatures you control... Formidable
{
intValue = 0;
for (int j = card->controller()->game->inPlay->nb_cards - 1; j >= 0; --j)
{
if (card->controller()->game->inPlay->cards[j]->hasType(Subtypes::TYPE_CREATURE))
intValue += card->controller()->game->inPlay->cards[j]->getCurrentToughness();
} }
} }
else if (s == "mypos") else if (s == "mypos")