Psyringe - softcoded Great Defender (LEG), provided test script.
This commit is contained in:
@@ -481,8 +481,9 @@ type=Enchantment
|
|||||||
[/card]
|
[/card]
|
||||||
[card]
|
[card]
|
||||||
text=Target creature gets +0/+X until end of turn, where X is its converted mana cost.
|
text=Target creature gets +0/+X until end of turn, where X is its converted mana cost.
|
||||||
id=1614
|
|
||||||
target=creature
|
target=creature
|
||||||
|
auto=0/manacost
|
||||||
|
id=1614
|
||||||
name=Great Defender
|
name=Great Defender
|
||||||
rarity=U
|
rarity=U
|
||||||
mana={W}
|
mana={W}
|
||||||
|
|||||||
@@ -231,6 +231,7 @@ goblin_lackey3.txt
|
|||||||
goblin_lackey4.txt
|
goblin_lackey4.txt
|
||||||
goblin_offensive.txt
|
goblin_offensive.txt
|
||||||
gravedigger.txt
|
gravedigger.txt
|
||||||
|
great_defender.txt
|
||||||
hannas_custody.txt
|
hannas_custody.txt
|
||||||
harpoon_sniper.txt
|
harpoon_sniper.txt
|
||||||
hellfire.txt
|
hellfire.txt
|
||||||
|
|||||||
@@ -0,0 +1,23 @@
|
|||||||
|
#NAME:Great Defender
|
||||||
|
#DESC: Target creature gets +0/+X
|
||||||
|
#DESC: until end of turn, where X
|
||||||
|
#DESC: is its converted mana cost.
|
||||||
|
[INIT]
|
||||||
|
firstmain
|
||||||
|
[PLAYER1]
|
||||||
|
inplay:Grizzly Bears
|
||||||
|
hand:Great Defender,Lightning Bolt
|
||||||
|
manapool:{W}{R}
|
||||||
|
[PLAYER2]
|
||||||
|
[DO]
|
||||||
|
Great Defender
|
||||||
|
Grizzly Bears
|
||||||
|
Lightning Bolt
|
||||||
|
Grizzly Bears
|
||||||
|
[ASSERT]
|
||||||
|
firstmain
|
||||||
|
[PLAYER1]
|
||||||
|
inplay:Grizzly Bears
|
||||||
|
graveyard:Great Defender,Lightning Bolt
|
||||||
|
[PLAYER2]
|
||||||
|
[END]
|
||||||
@@ -1441,13 +1441,6 @@ void AbilityFactory::addAbilities(int _id, Spell * spell){
|
|||||||
int mana = card->target->getManaCost()->getConvertedCost();
|
int mana = card->target->getManaCost()->getConvertedCost();
|
||||||
game->currentlyActing()->getManaPool()->add(Constants::MTG_COLOR_ARTIFACT, mana);
|
game->currentlyActing()->getManaPool()->add(Constants::MTG_COLOR_ARTIFACT, mana);
|
||||||
}
|
}
|
||||||
|
|
||||||
case 1614: // Great Defender
|
|
||||||
{
|
|
||||||
int toughness = card->target->getManaCost()->getConvertedCost();
|
|
||||||
int power = 0;
|
|
||||||
game->addObserver(NEW AInstantPowerToughnessModifierUntilEOT(id, card, card->target, NEW WParsedPT(power,toughness)));
|
|
||||||
}
|
|
||||||
|
|
||||||
//Addons ICE-AGE Cards
|
//Addons ICE-AGE Cards
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user