- 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

View File

@@ -516,7 +516,7 @@ mana={3}{B}
power=1
subtype=Shade
toughness=2
[/card
[/card]
[card]
text=Target creature gets +X/+0 until end of turn.
id=2456
@@ -1049,7 +1049,7 @@ name=Rally
rarity=C
type=Instant
mana={W}{W}
[/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.
id=2529
@@ -1358,7 +1358,7 @@ name=Thoughtleech
rarity=U
type=Enchantment
mana={G}{G}
[/card
[/card]
[card]
text=Defender (This creature can't attack.) Flying. {U}: Thunder Wall gets +1/+1 until end of turn.
id=2540

View File

@@ -649,7 +649,7 @@ subtype=Human
power=4
toughness=5
abilities=legendary
[/cards]
[/card]
[card]
text=Legendary
name=Jedit Ojanen
@@ -662,7 +662,7 @@ subtype=Cat Warrior
power=5
toughness=5
abilities=legendary
[/cards]
[/card]
[card]
text=Legendary
name=Jerrard of the Closed Fist
@@ -675,7 +675,7 @@ subtype=Human Knight
power=6
toughness=5
abilities=legendary
[/cards]
[/card]
[card]
text=Legendary {T}: Add {W} to your mana pool. {W}, {T}: Return target legendary creature to its owner's hand.
id=1701
@@ -698,7 +698,7 @@ subtype=Human Warrior
power=5
toughness=3
abilities=legendary
[/cards]
[/card]
[card]
name=Keepers of the Faith
id=1622
@@ -709,7 +709,7 @@ type=Creature
subtype=Human Cleric
power=2
toughness=3
[/cards]
[/card]
[card]
text=Flying {G}: Killer Bees gets +1/+1 until end of turn.
id=1532
@@ -908,7 +908,7 @@ subtype=Yeti
power=3
toughness=2
abilities=mountainwalk,protection from white
[/cards]
[/card]
[card]
text=Legendary {B}{R}: Pavel Maliki gets +1/+0 until end of turn.
id=1674

View File

@@ -1358,4 +1358,4 @@ type=Creature
subtype=Cat
power=3
toughness=3
[/card]
[/card]

View File

@@ -641,7 +641,7 @@ class GameStateDeckViewer: public GameState, public JGuiListener
JRenderer::GetInstance()->RenderQuad(quad, x , y , 0.0f,scale,scale);
if (showName){
char buffer[4096];
sprintf(buffer, "%s", _(card->getName()));
sprintf(buffer, "%s", _(card->getName()).c_str());
float scaleBackup = mFont->GetScale();
mFont->SetScale(scale);
mFont->DrawString(buffer,x,y);

View File

@@ -176,7 +176,7 @@ vector<int> MTGMomirRule::pool[20];
MTGMomirRule::MTGMomirRule(int _id, MTGAllCards * _collection):MTGAbility(_id, NULL){
collection = _collection;
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]];
if (card->isACreature()){
int convertedCost = card->getManaCost()->getConvertedCost();

View File

@@ -250,7 +250,7 @@ void ShopItems::ButtonPressed(int controllerId, int controlId){
}else{
safeDeleteDisplay();
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);
tempDeck->addRandomCards(1, setIds[showPriceDialog],Constants::RARITY_R);