- cards syntax errors
- compilation errors fix for PSP
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-06-06 09:10:43 +00:00
parent c5d13e7cac
commit 115976c264
6 changed files with 13 additions and 13 deletions
+3 -3
View File
@@ -516,7 +516,7 @@ mana={3}{B}
power=1 power=1
subtype=Shade subtype=Shade
toughness=2 toughness=2
[/card [/card]
[card] [card]
text=Target creature gets +X/+0 until end of turn. text=Target creature gets +X/+0 until end of turn.
id=2456 id=2456
@@ -1049,7 +1049,7 @@ name=Rally
rarity=C rarity=C
type=Instant type=Instant
mana={W}{W} mana={W}{W}
[/card [/card]
[card] [card]
text=Target player puts the top card of his or her library into his or her graveyard. Draw a card at the beginning of the next turn's upkeep. text=Target player puts the top card of his or her library into his or her graveyard. Draw a card at the beginning of the next turn's upkeep.
id=2529 id=2529
@@ -1358,7 +1358,7 @@ name=Thoughtleech
rarity=U rarity=U
type=Enchantment type=Enchantment
mana={G}{G} mana={G}{G}
[/card [/card]
[card] [card]
text=Defender (This creature can't attack.) Flying. {U}: Thunder Wall gets +1/+1 until end of turn. text=Defender (This creature can't attack.) Flying. {U}: Thunder Wall gets +1/+1 until end of turn.
id=2540 id=2540
+6 -6
View File
@@ -649,7 +649,7 @@ subtype=Human
power=4 power=4
toughness=5 toughness=5
abilities=legendary abilities=legendary
[/cards] [/card]
[card] [card]
text=Legendary text=Legendary
name=Jedit Ojanen name=Jedit Ojanen
@@ -662,7 +662,7 @@ subtype=Cat Warrior
power=5 power=5
toughness=5 toughness=5
abilities=legendary abilities=legendary
[/cards] [/card]
[card] [card]
text=Legendary text=Legendary
name=Jerrard of the Closed Fist name=Jerrard of the Closed Fist
@@ -675,7 +675,7 @@ subtype=Human Knight
power=6 power=6
toughness=5 toughness=5
abilities=legendary abilities=legendary
[/cards] [/card]
[card] [card]
text=Legendary {T}: Add {W} to your mana pool. {W}, {T}: Return target legendary creature to its owner's hand. text=Legendary {T}: Add {W} to your mana pool. {W}, {T}: Return target legendary creature to its owner's hand.
id=1701 id=1701
@@ -698,7 +698,7 @@ subtype=Human Warrior
power=5 power=5
toughness=3 toughness=3
abilities=legendary abilities=legendary
[/cards] [/card]
[card] [card]
name=Keepers of the Faith name=Keepers of the Faith
id=1622 id=1622
@@ -709,7 +709,7 @@ type=Creature
subtype=Human Cleric subtype=Human Cleric
power=2 power=2
toughness=3 toughness=3
[/cards] [/card]
[card] [card]
text=Flying {G}: Killer Bees gets +1/+1 until end of turn. text=Flying {G}: Killer Bees gets +1/+1 until end of turn.
id=1532 id=1532
@@ -908,7 +908,7 @@ subtype=Yeti
power=3 power=3
toughness=2 toughness=2
abilities=mountainwalk,protection from white abilities=mountainwalk,protection from white
[/cards] [/card]
[card] [card]
text=Legendary {B}{R}: Pavel Maliki gets +1/+0 until end of turn. text=Legendary {B}{R}: Pavel Maliki gets +1/+0 until end of turn.
id=1674 id=1674
+1 -1
View File
@@ -1358,4 +1358,4 @@ type=Creature
subtype=Cat subtype=Cat
power=3 power=3
toughness=3 toughness=3
[/card] [/card]
+1 -1
View File
@@ -641,7 +641,7 @@ class GameStateDeckViewer: public GameState, public JGuiListener
JRenderer::GetInstance()->RenderQuad(quad, x , y , 0.0f,scale,scale); JRenderer::GetInstance()->RenderQuad(quad, x , y , 0.0f,scale,scale);
if (showName){ if (showName){
char buffer[4096]; char buffer[4096];
sprintf(buffer, "%s", _(card->getName())); sprintf(buffer, "%s", _(card->getName()).c_str());
float scaleBackup = mFont->GetScale(); float scaleBackup = mFont->GetScale();
mFont->SetScale(scale); mFont->SetScale(scale);
mFont->DrawString(buffer,x,y); mFont->DrawString(buffer,x,y);
+1 -1
View File
@@ -176,7 +176,7 @@ vector<int> MTGMomirRule::pool[20];
MTGMomirRule::MTGMomirRule(int _id, MTGAllCards * _collection):MTGAbility(_id, NULL){ MTGMomirRule::MTGMomirRule(int _id, MTGAllCards * _collection):MTGAbility(_id, NULL){
collection = _collection; collection = _collection;
if (!initialized){ if (!initialized){
for (int i = 0; i < collection->ids.size(); i++){ for (size_t i = 0; i < collection->ids.size(); i++){
MTGCard * card = collection->collection[collection->ids[i]]; MTGCard * card = collection->collection[collection->ids[i]];
if (card->isACreature()){ if (card->isACreature()){
int convertedCost = card->getManaCost()->getConvertedCost(); int convertedCost = card->getManaCost()->getConvertedCost();
+1 -1
View File
@@ -250,7 +250,7 @@ void ShopItems::ButtonPressed(int controllerId, int controlId){
}else{ }else{
safeDeleteDisplay(); safeDeleteDisplay();
display = NEW CardDisplay(12,NULL, SCREEN_WIDTH - 200, SCREEN_HEIGHT/2,this,NULL,5); display = NEW CardDisplay(12,NULL, SCREEN_WIDTH - 200, SCREEN_HEIGHT/2,this,NULL,5);
int curNbcards = playerdata->collection->totalCards();
MTGDeck * tempDeck = NEW MTGDeck(NULL,playerdata->collection->database); MTGDeck * tempDeck = NEW MTGDeck(NULL,playerdata->collection->database);
tempDeck->addRandomCards(1, setIds[showPriceDialog],Constants::RARITY_R); tempDeck->addRandomCards(1, setIds[showPriceDialog],Constants::RARITY_R);