Erwan
- Ashen firebeast bug fix - Small cards bug fixes - Bloodfire colossus bug fix - Graphical glitch in Opponent deck's choice when Deck name is too long... attempt to fix, let's be careful, no more than 9 letters in Deck names, please - Updated Tranquil domain test. It was using cards that have been removed from the DB - replaced /n/ with (n) in shop
This commit is contained in:
@@ -521,7 +521,7 @@ mana={1}{U}
|
|||||||
[/card]
|
[/card]
|
||||||
[card]
|
[card]
|
||||||
text=Flying {U}, Sacrifice Glen Elendra Archmage: Counter target noncreature spell. Persist (When this creature is put into a graveyard from play, if it had no -1/-1 counters on it, return it to play under its owner's control with a -1/-1 counter on it.)
|
text=Flying {U}, Sacrifice Glen Elendra Archmage: Counter target noncreature spell. Persist (When this creature is put into a graveyard from play, if it had no -1/-1 counters on it, return it to play under its owner's control with a -1/-1 counter on it.)
|
||||||
abilities=flying
|
abilities=flying,persist
|
||||||
id=157977
|
id=157977
|
||||||
auto={U}{S}:fizzle(*[-creature]|stack)
|
auto={U}{S}:fizzle(*[-creature]|stack)
|
||||||
name=Glen Elendra Archmage
|
name=Glen Elendra Archmage
|
||||||
|
|||||||
@@ -134,12 +134,12 @@ rarity=C
|
|||||||
[/card]
|
[/card]
|
||||||
[card]
|
[card]
|
||||||
text=Add {B}{B}{B} to your mana pool.
|
text=Add {B}{B}{B} to your mana pool.
|
||||||
id=3285
|
auto=Add{B}{B}{B}
|
||||||
|
id=3285
|
||||||
name=Dark Ritual
|
name=Dark Ritual
|
||||||
alias=1149
|
|
||||||
type=Mana Source
|
|
||||||
mana={B}
|
|
||||||
rarity=C
|
rarity=C
|
||||||
|
type=Instant
|
||||||
|
mana={B}
|
||||||
[/card]
|
[/card]
|
||||||
[card]
|
[card]
|
||||||
text=Swampwalk {B}: Dirtwater Wraith gets +1/+0 until end of turn.
|
text=Swampwalk {B}: Dirtwater Wraith gets +1/+0 until end of turn.
|
||||||
|
|||||||
@@ -881,6 +881,7 @@ rarity=U
|
|||||||
type=Enchantment
|
type=Enchantment
|
||||||
mana={1}{U}{U}
|
mana={1}{U}{U}
|
||||||
[/card]
|
[/card]
|
||||||
|
#Hammerfist giant requires a serious update of the targetChooser code before it can work.
|
||||||
[card]
|
[card]
|
||||||
text={T}: Hammerfist Giant deals 4 damage to each creature without flying and each player.
|
text={T}: Hammerfist Giant deals 4 damage to each creature without flying and each player.
|
||||||
id=83712
|
id=83712
|
||||||
|
|||||||
@@ -146,7 +146,7 @@ id=5597
|
|||||||
name=Bog Raiders
|
name=Bog Raiders
|
||||||
color=Black
|
color=Black
|
||||||
rarity=C
|
rarity=C
|
||||||
mana={3}{B}
|
mana={2}{B}
|
||||||
type=Creature
|
type=Creature
|
||||||
subtype=Zombie
|
subtype=Zombie
|
||||||
power=3
|
power=3
|
||||||
|
|||||||
@@ -30,7 +30,9 @@ ascendant_evincar.txt
|
|||||||
ascendant_evincar2.txt
|
ascendant_evincar2.txt
|
||||||
ascendant_evincar3.txt
|
ascendant_evincar3.txt
|
||||||
ashen_firebeast.txt
|
ashen_firebeast.txt
|
||||||
|
ashen_firebeast2.txt
|
||||||
blessed_wine.txt
|
blessed_wine.txt
|
||||||
|
bloodfire_colossus.txt
|
||||||
bottle_gnomes.txt
|
bottle_gnomes.txt
|
||||||
boggart_arsonists.txt
|
boggart_arsonists.txt
|
||||||
brass_man.txt
|
brass_man.txt
|
||||||
@@ -68,6 +70,7 @@ goblin_balloon_brigade.txt
|
|||||||
goblin_balloon_brigade2.txt
|
goblin_balloon_brigade2.txt
|
||||||
goblin_king.txt
|
goblin_king.txt
|
||||||
gravedigger.txt
|
gravedigger.txt
|
||||||
|
#hammerfist_giant.txt
|
||||||
hannas_custody.txt
|
hannas_custody.txt
|
||||||
hymn_of_rebirth.txt
|
hymn_of_rebirth.txt
|
||||||
icatian_priest.txt
|
icatian_priest.txt
|
||||||
@@ -81,6 +84,7 @@ lifeforce.txt
|
|||||||
living_lands.txt
|
living_lands.txt
|
||||||
lord_of_the_pit.txt
|
lord_of_the_pit.txt
|
||||||
lord_of_the_pit2.txt
|
lord_of_the_pit2.txt
|
||||||
|
master_of_etherium.txt
|
||||||
nantuko_husk.txt
|
nantuko_husk.txt
|
||||||
Nevinyrrals_Disk.txt
|
Nevinyrrals_Disk.txt
|
||||||
Nevinyrrals_Disk2.txt
|
Nevinyrrals_Disk2.txt
|
||||||
@@ -123,4 +127,4 @@ zombify.txt
|
|||||||
#Momir Basic Tests
|
#Momir Basic Tests
|
||||||
########################
|
########################
|
||||||
momir/keldon_warlord.txt
|
momir/keldon_warlord.txt
|
||||||
momir/overcost.txt
|
momir/overcost.txt
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
#Bug:Ashen firebeast crashes the game if used more than once
|
||||||
|
[INIT]
|
||||||
|
FIRSTMAIN
|
||||||
|
[PLAYER1]
|
||||||
|
inplay:air elemental,grizzly bears,ashen firebeast
|
||||||
|
manapool:{2}{R}{R}
|
||||||
|
[PLAYER2]
|
||||||
|
[DO]
|
||||||
|
ashen firebeast
|
||||||
|
ashen firebeast
|
||||||
|
[ASSERT]
|
||||||
|
FIRSTMAIN
|
||||||
|
[PLAYER1]
|
||||||
|
graveyard:grizzly bears
|
||||||
|
inplay:air elemental,ashen firebeast
|
||||||
|
manapool:{0}
|
||||||
|
[PLAYER2]
|
||||||
|
[END]
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
#Bug: Bloodfire colossus doesn't damage players
|
||||||
|
[INIT]
|
||||||
|
FIRSTMAIN
|
||||||
|
[PLAYER1]
|
||||||
|
inplay:air elemental,grizzly bears,bloodfire colossus
|
||||||
|
manapool:{R}
|
||||||
|
[PLAYER2]
|
||||||
|
[DO]
|
||||||
|
bloodfire colossus
|
||||||
|
[ASSERT]
|
||||||
|
FIRSTMAIN
|
||||||
|
[PLAYER1]
|
||||||
|
graveyard:bloodfire colossus,air elemental,grizzly bears
|
||||||
|
manapool:{0}
|
||||||
|
life:14
|
||||||
|
[PLAYER2]
|
||||||
|
life:14
|
||||||
|
[END]
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
#Bug: Hammerfist_giant does damage when it comes into play
|
||||||
|
[INIT]
|
||||||
|
FIRSTMAIN
|
||||||
|
[PLAYER1]
|
||||||
|
hand:Hammerfist giant
|
||||||
|
inplay:air elemental,grizzly bears
|
||||||
|
manapool:{4}{R}{R}
|
||||||
|
[PLAYER2]
|
||||||
|
[DO]
|
||||||
|
hammerfist giant
|
||||||
|
next
|
||||||
|
#combat begin
|
||||||
|
next
|
||||||
|
#attackers
|
||||||
|
air elemental
|
||||||
|
grizzly bears
|
||||||
|
next
|
||||||
|
#blockers
|
||||||
|
next
|
||||||
|
#damage
|
||||||
|
next
|
||||||
|
#combat end
|
||||||
|
next
|
||||||
|
#main phase 2
|
||||||
|
hammerfist giant
|
||||||
|
[ASSERT]
|
||||||
|
SECONDMAIN
|
||||||
|
[PLAYER1]
|
||||||
|
inplay:air elemental,hammerfist giant
|
||||||
|
graveyard:grizzly bears
|
||||||
|
manapool:{0}
|
||||||
|
life:16
|
||||||
|
[PLAYER2]
|
||||||
|
life:10
|
||||||
|
[END]
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
#Bug: Master of Etherium gets wrong bonuses
|
||||||
|
[INIT]
|
||||||
|
COMBATATTACKERS
|
||||||
|
[PLAYER1]
|
||||||
|
inplay:Master of Etherium,Black Vise,The Rack
|
||||||
|
[PLAYER2]
|
||||||
|
[DO]
|
||||||
|
Master of Etherium
|
||||||
|
next
|
||||||
|
#bloquers
|
||||||
|
next
|
||||||
|
#damage
|
||||||
|
next
|
||||||
|
#end
|
||||||
|
[ASSERT]
|
||||||
|
COMBATEND
|
||||||
|
[PLAYER1]
|
||||||
|
inplay:Master of Etherium,Black Vise,The Rack
|
||||||
|
manapool:{0}
|
||||||
|
[PLAYER2]
|
||||||
|
life:17
|
||||||
|
[END]
|
||||||
@@ -2,13 +2,13 @@
|
|||||||
[INIT]
|
[INIT]
|
||||||
FIRSTMAIN
|
FIRSTMAIN
|
||||||
[PLAYER1]
|
[PLAYER1]
|
||||||
hand:3414,3425,
|
hand:3414,135267
|
||||||
inplay:1250,3566,143024
|
inplay:1250,3566,143024
|
||||||
manapool:{2}{R}
|
manapool:{3}{G}
|
||||||
[PLAYER2]
|
[PLAYER2]
|
||||||
[DO]
|
[DO]
|
||||||
#play aura on grizzly
|
#play aura on grizzly
|
||||||
3425
|
135267
|
||||||
1250
|
1250
|
||||||
#play tranquil domain
|
#play tranquil domain
|
||||||
3566
|
3566
|
||||||
@@ -17,7 +17,7 @@ manapool:{2}{R}
|
|||||||
FIRSTMAIN
|
FIRSTMAIN
|
||||||
[PLAYER1]
|
[PLAYER1]
|
||||||
graveyard:3414,143024
|
graveyard:3414,143024
|
||||||
inplay:1250,3566,3425
|
inplay:1250,3566,135267
|
||||||
manapool:{0}
|
manapool:{0}
|
||||||
[PLAYER2]
|
[PLAYER2]
|
||||||
[END]
|
[END]
|
||||||
@@ -288,6 +288,7 @@ void GameStateDuel::Update(float dt)
|
|||||||
difficulty = "(easy)";
|
difficulty = "(easy)";
|
||||||
}
|
}
|
||||||
sprintf(deckDesc, "%s %s",mtgd->meta_name.c_str(), _(difficulty).c_str());
|
sprintf(deckDesc, "%s %s",mtgd->meta_name.c_str(), _(difficulty).c_str());
|
||||||
|
deckDesc[16] = 0;
|
||||||
opponentMenu->Add(nbAIDecks,deckDesc,mtgd->meta_desc);
|
opponentMenu->Add(nbAIDecks,deckDesc,mtgd->meta_desc);
|
||||||
delete mtgd;
|
delete mtgd;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ int AbilityFactory::countCards(TargetChooser * tc, Player * player, int option){
|
|||||||
}
|
}
|
||||||
|
|
||||||
int AbilityFactory::destroyAllInPlay(TargetChooser * tc, int bury){
|
int AbilityFactory::destroyAllInPlay(TargetChooser * tc, int bury){
|
||||||
|
MTGCardInstance * source = tc->source;
|
||||||
tc->source = NULL; // This is to prevent protection from... as objects that destroy all do not actually target
|
tc->source = NULL; // This is to prevent protection from... as objects that destroy all do not actually target
|
||||||
GameObserver * game = GameObserver::GetInstance();
|
GameObserver * game = GameObserver::GetInstance();
|
||||||
for (int i = 0; i < 2 ; i++){
|
for (int i = 0; i < 2 ; i++){
|
||||||
@@ -46,6 +47,7 @@ int AbilityFactory::destroyAllInPlay(TargetChooser * tc, int bury){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
tc->source = source; //restore source
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -54,6 +56,7 @@ int AbilityFactory::damageAll(TargetChooser * tc, int damage){
|
|||||||
tc->source = NULL; // This is to prevent protection from... as objects that destroy all do not actually target
|
tc->source = NULL; // This is to prevent protection from... as objects that destroy all do not actually target
|
||||||
GameObserver * g = GameObserver::GetInstance();
|
GameObserver * g = GameObserver::GetInstance();
|
||||||
for (int i = 0; i < 2 ; i++){
|
for (int i = 0; i < 2 ; i++){
|
||||||
|
if (tc->canTarget(g->players[i])) g->mLayers->stackLayer()->addDamage(source,g->players[i], damage);
|
||||||
for (int j = g->players[i]->game->inPlay->nb_cards-1; j >=0 ; j--){
|
for (int j = g->players[i]->game->inPlay->nb_cards-1; j >=0 ; j--){
|
||||||
MTGCardInstance * current = g->players[i]->game->inPlay->cards[j];
|
MTGCardInstance * current = g->players[i]->game->inPlay->cards[j];
|
||||||
if (tc->canTarget(current)){
|
if (tc->canTarget(current)){
|
||||||
@@ -61,6 +64,7 @@ int AbilityFactory::damageAll(TargetChooser * tc, int damage){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
tc->source = source; //restore source
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -78,6 +82,7 @@ int AbilityFactory::moveAll(TargetChooser * tc, string destinationZone){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
tc->source = source; //restore source
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ void ShopItem::Render(){
|
|||||||
thumb = card->getThumb();
|
thumb = card->getThumb();
|
||||||
if (nameCount){
|
if (nameCount){
|
||||||
char buffer[512];
|
char buffer[512];
|
||||||
sprintf(buffer, "%s /%i/", card->name.c_str(), nameCount );
|
sprintf(buffer, "%s (%i)", card->name.c_str(), nameCount );
|
||||||
mText = buffer;
|
mText = buffer;
|
||||||
}else{
|
}else{
|
||||||
mText = card->name;
|
mText = card->name;
|
||||||
|
|||||||
Reference in New Issue
Block a user