Erwan
- Added "lord until end of turn" (see titanic ultimatum in ALA)
This commit is contained in:
@@ -367,6 +367,15 @@ subtype=Ogre Mutant
|
|||||||
toughness=1
|
toughness=1
|
||||||
[/card]
|
[/card]
|
||||||
[card]
|
[card]
|
||||||
|
text=All creatures get -2/-2 until end of turn.
|
||||||
|
auto=loard(creatures) -2/-2
|
||||||
|
id=179424
|
||||||
|
name=Infest
|
||||||
|
rarity=U
|
||||||
|
type=Sorcery
|
||||||
|
mana={1}{B}{B}
|
||||||
|
[/card]
|
||||||
|
[card]
|
||||||
text={T}: Add {U} to your mana pool.
|
text={T}: Add {U} to your mana pool.
|
||||||
auto={T}:Add{U}
|
auto={T}:Add{U}
|
||||||
id=174979
|
id=174979
|
||||||
@@ -771,6 +780,17 @@ subtype=Human Wizard
|
|||||||
toughness=1
|
toughness=1
|
||||||
[/card]
|
[/card]
|
||||||
[card]
|
[card]
|
||||||
|
text=Until end of turn, target creature you control gets +3/+3 and other creatures you control get +1/+1.
|
||||||
|
target=creature|myinplay
|
||||||
|
auto=2/2
|
||||||
|
auto=lord(creatures|myinplay) 1/1
|
||||||
|
id=177597
|
||||||
|
name=Sigil Blessing
|
||||||
|
rarity=C
|
||||||
|
type=Instant
|
||||||
|
mana={G}{W}
|
||||||
|
[/card]
|
||||||
|
[card]
|
||||||
text=First strike Exalted (Whenever a creature you control attacks alone, that creature gets +1/+1 until end of turn.)
|
text=First strike Exalted (Whenever a creature you control attacks alone, that creature gets +1/+1 until end of turn.)
|
||||||
abilities=first strike, exalted
|
abilities=first strike, exalted
|
||||||
id=174958
|
id=174958
|
||||||
@@ -858,6 +878,18 @@ type=Basic Land
|
|||||||
subtype=Swamp
|
subtype=Swamp
|
||||||
[/card]
|
[/card]
|
||||||
[card]
|
[card]
|
||||||
|
text=Until end of turn, creatures you control get +5/+5 and gain first strike, lifelink, and trample.
|
||||||
|
auto=lord(creatures|myinplay) 5/5
|
||||||
|
auto=lord(creatures|myinplay) lifelink
|
||||||
|
auto=lord(creatures|myinplay) first strike
|
||||||
|
auto=lord(creatures|myinplay) trample
|
||||||
|
id=174839
|
||||||
|
name=Titanic Ultimatum
|
||||||
|
rarity=R
|
||||||
|
type=Sorcery
|
||||||
|
mana={R}{R}{G}{G}{G}{W}{W}
|
||||||
|
[/card]
|
||||||
|
[card]
|
||||||
text=Flying
|
text=Flying
|
||||||
abilities=flying
|
abilities=flying
|
||||||
id=174924
|
id=174924
|
||||||
|
|||||||
@@ -638,14 +638,7 @@ rarity=R
|
|||||||
type=Artifact
|
type=Artifact
|
||||||
mana={2}{B}{B}
|
mana={2}{B}{B}
|
||||||
[/card]
|
[/card]
|
||||||
[card]
|
|
||||||
text=All creatures get -2/-2 until end of turn.
|
|
||||||
id=179424
|
|
||||||
name=Infest
|
|
||||||
rarity=U
|
|
||||||
type=Sorcery
|
|
||||||
mana={1}{B}{B}
|
|
||||||
[/card]
|
|
||||||
[card]
|
[card]
|
||||||
text=Count the number of cards in your library. Your life total becomes that number.
|
text=Count the number of cards in your library. Your life total becomes that number.
|
||||||
id=175039
|
id=175039
|
||||||
@@ -1240,14 +1233,7 @@ power=5
|
|||||||
subtype=Sphinx
|
subtype=Sphinx
|
||||||
toughness=5
|
toughness=5
|
||||||
[/card]
|
[/card]
|
||||||
[card]
|
|
||||||
text=Until end of turn, target creature you control gets +3/+3 and other creatures you control get +1/+1.
|
|
||||||
id=177597
|
|
||||||
name=Sigil Blessing
|
|
||||||
rarity=C
|
|
||||||
type=Instant
|
|
||||||
mana={G}{W}
|
|
||||||
[/card]
|
|
||||||
[card]
|
[card]
|
||||||
text=Sigil of Distinction comes into play with X charge counters on it. Equipped creature gets +1/+1 for each charge counter on Sigil of Distinction. Equip-Remove a charge counter from Sigil of Distinction.
|
text=Sigil of Distinction comes into play with X charge counters on it. Equipped creature gets +1/+1 for each charge counter on Sigil of Distinction. Equip-Remove a charge counter from Sigil of Distinction.
|
||||||
id=174867
|
id=174867
|
||||||
@@ -1471,14 +1457,7 @@ power=2
|
|||||||
subtype=Bird
|
subtype=Bird
|
||||||
toughness=1
|
toughness=1
|
||||||
[/card]
|
[/card]
|
||||||
[card]
|
|
||||||
text=Until end of turn, creatures you control get +5/+5 and gain first strike, lifelink, and trample.
|
|
||||||
id=174839
|
|
||||||
name=Titanic Ultimatum
|
|
||||||
rarity=R
|
|
||||||
type=Sorcery
|
|
||||||
mana={R}{R}{G}{G}{G}{W}{W}
|
|
||||||
[/card]
|
|
||||||
[card]
|
[card]
|
||||||
text=Tap an untapped creature you control: Topan Ascetic gets +1/+1 until end of turn.
|
text=Tap an untapped creature you control: Topan Ascetic gets +1/+1 until end of turn.
|
||||||
id=174999
|
id=174999
|
||||||
|
|||||||
@@ -101,6 +101,7 @@ steelclad_serpent1.txt
|
|||||||
steelclad_serpent2.txt
|
steelclad_serpent2.txt
|
||||||
sword_to_plowshares.txt
|
sword_to_plowshares.txt
|
||||||
terror.txt
|
terror.txt
|
||||||
|
titanic_ultimatum.txt
|
||||||
tranquil_domain.txt
|
tranquil_domain.txt
|
||||||
volcanic_island.txt
|
volcanic_island.txt
|
||||||
wall_of_diffusion.txt
|
wall_of_diffusion.txt
|
||||||
@@ -112,4 +113,4 @@ zombify.txt
|
|||||||
########################
|
########################
|
||||||
#Momir Basic Tests
|
#Momir Basic Tests
|
||||||
########################
|
########################
|
||||||
momir/keldon_warlord.txt
|
momir/keldon_warlord.txt
|
||||||
|
|||||||
@@ -0,0 +1,45 @@
|
|||||||
|
#Test new lord Until end of turn abilities
|
||||||
|
[INIT]
|
||||||
|
FIRSTMAIN
|
||||||
|
[PLAYER1]
|
||||||
|
inplay:grizzly bears
|
||||||
|
hand:titanic ultimatum
|
||||||
|
manapool:{R}{R}{G}{G}{G}{W}{W}
|
||||||
|
[PLAYER2]
|
||||||
|
[DO]
|
||||||
|
titanic ultimatum
|
||||||
|
next
|
||||||
|
#combat begin
|
||||||
|
next
|
||||||
|
#attackers
|
||||||
|
grizzly bears
|
||||||
|
eot
|
||||||
|
eot
|
||||||
|
#untap
|
||||||
|
next
|
||||||
|
#upkeep
|
||||||
|
next
|
||||||
|
#draw
|
||||||
|
next
|
||||||
|
#main
|
||||||
|
next
|
||||||
|
#combat begins
|
||||||
|
next
|
||||||
|
#attackers
|
||||||
|
grizzly bears
|
||||||
|
next
|
||||||
|
#blcokers
|
||||||
|
next
|
||||||
|
#combat damage
|
||||||
|
next
|
||||||
|
#combatend
|
||||||
|
[ASSERT]
|
||||||
|
COMBATEND
|
||||||
|
[PLAYER1]
|
||||||
|
inplay:grizzly bears
|
||||||
|
graveyard:titanic ultimatum
|
||||||
|
manapool:{0}
|
||||||
|
life:27
|
||||||
|
[PLAYER2]
|
||||||
|
life:11
|
||||||
|
[END]
|
||||||
@@ -1040,6 +1040,18 @@ class ALord:public ListMaintainerAbility{
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
class ALordUEOT:public ALord{
|
||||||
|
public:
|
||||||
|
ALordUEOT(int _id, MTGCardInstance * card, TargetChooser * _tc, int _includeSelf, int _power = 0 , int _toughness = 0, int _ability = -1, ManaCost * _regenCost = NULL, int _modifier = 1): ALord(_id, card, _tc, _includeSelf, _power , _toughness , _ability , _regenCost, _modifier){
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
int testDestroy(){
|
||||||
|
if (newPhase == Constants::MTG_PHASE_AFTER_EOT) return 1;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
//Foreach (plague rats...)
|
//Foreach (plague rats...)
|
||||||
class AForeach:public ListMaintainerAbility{
|
class AForeach:public ListMaintainerAbility{
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
#include "../include/GameApp.h"
|
#include "../include/GameApp.h"
|
||||||
#include "../include/MTGCard.h"
|
#include "../include/MTGCard.h"
|
||||||
|
|
||||||
static const char* GAME_VERSION = "WTH?! 0.6.0 - by WilLoW";
|
static const char* GAME_VERSION = "WTH?! 0.6.1 - by WilLoW";
|
||||||
#define ALPHA_WARNING 0
|
#define ALPHA_WARNING 0
|
||||||
|
|
||||||
#define DEFAULT_ANGLE_MULTIPLIER 0.4
|
#define DEFAULT_ANGLE_MULTIPLIER 0.4
|
||||||
|
|||||||
@@ -609,7 +609,15 @@ int AbilityFactory::magicText(int id, Spell * spell, MTGCardInstance * card){
|
|||||||
|
|
||||||
|
|
||||||
if (lordType == PARSER_LORD){
|
if (lordType == PARSER_LORD){
|
||||||
game->addObserver(NEW ALord(id,card,lordTargets,lordIncludeSelf,power,toughness));
|
if (!cost){
|
||||||
|
if(card->hasType("instant") || card->hasType("sorcery")){
|
||||||
|
game->addObserver(NEW ALordUEOT(id,card,lordTargets,lordIncludeSelf,power,toughness));
|
||||||
|
}else{
|
||||||
|
game->addObserver(NEW ALord(id,card,lordTargets,lordIncludeSelf,power,toughness));
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
//TODO
|
||||||
|
}
|
||||||
}else{
|
}else{
|
||||||
if(tc){
|
if(tc){
|
||||||
game->addObserver(NEW ATargetterPowerToughnessModifierUntilEOT(id, card,power,toughness, cost, tc,doTap));
|
game->addObserver(NEW ATargetterPowerToughnessModifierUntilEOT(id, card,power,toughness, cost, tc,doTap));
|
||||||
@@ -682,7 +690,11 @@ int AbilityFactory::magicText(int id, Spell * spell, MTGCardInstance * card){
|
|||||||
break;
|
break;
|
||||||
}else{
|
}else{
|
||||||
if (lordType == PARSER_LORD){
|
if (lordType == PARSER_LORD){
|
||||||
game->addObserver(NEW ALord(id,card,lordTargets,lordIncludeSelf,0,0,j,0,modifier));
|
if(card->hasType("instant") || card->hasType("sorcery")){
|
||||||
|
game->addObserver(NEW ALordUEOT(id,card,lordTargets,lordIncludeSelf,0,0,j,0,modifier));
|
||||||
|
}else{
|
||||||
|
game->addObserver(NEW ALord(id,card,lordTargets,lordIncludeSelf,0,0,j,0,modifier));
|
||||||
|
}
|
||||||
}else if (lordType == PARSER_ASLONGAS){
|
}else if (lordType == PARSER_ASLONGAS){
|
||||||
game->addObserver(NEW AKirdApe(id,card,lordTargets,lordIncludeSelf,0,0,j,modifier));
|
game->addObserver(NEW AKirdApe(id,card,lordTargets,lordIncludeSelf,0,0,j,modifier));
|
||||||
}else{
|
}else{
|
||||||
|
|||||||
Reference in New Issue
Block a user