-closing issue 165 (glasses of urza). Removed the card from the game, won't fix.
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-12-13 09:48:29 +00:00
parent 927382ac8b
commit f9c810058d
4 changed files with 8 additions and 75 deletions

View File

@@ -906,14 +906,6 @@ toughness=4
abilities=reach
[/card]
[card]
text={T}: Look at target player's hand.
id=1110
name=Glasses of Urza
rarity=U
mana={1}
type=Artifact
[/card]
[card]
text={R}: Goblin Balloon Brigade gains flying until end of turn. (It can't be blocked except by creatures with flying.)
id=1295
name=Goblin Balloon Brigade

View File

@@ -142,6 +142,14 @@ subtype=Avatar
toughness=*
[/card]
[card]
text={T}: Look at target player's hand.
id=1110
name=Glasses of Urza
rarity=U
mana={1}
type=Artifact
[/card]
[card]
text=White spells and activated abilities of white enchantments cost {3} more to play.
id=1163
name=Gloom

View File

@@ -2748,67 +2748,6 @@ class AFarmstead:public ActivatedAbility{
}
};
//1110 Glasses of Urza
class AGlassesOfUrza:public MTGAbility{
public:
CardDisplay * display;
bool isActive;
AGlassesOfUrza(int _id, MTGCardInstance * _source):MTGAbility(_id, _source),isActive(false){
display = NEW CardDisplay(0, game, SCREEN_WIDTH/2, SCREEN_HEIGHT/2,NULL);
}
void Update(float dt){
if(isActive){
display->Update(dt);
}
}
bool CheckUserInput(u32 key){
if (isActive){
if (display->CheckUserInput(key)) return true;
if (PSP_CTRL_CROSS == key){
isActive = false;
return true;
}
}
return false;
}
void Render(float dt){
if (isActive){
display->Render();
}
}
int isReactingToClick(MTGCardInstance * card, ManaCost * mana = NULL){
if ( card == source){
if (game->currentlyActing()->game->isInPlay(card) && !source->isTapped()){
return 1;
}
}
return 0;
}
int reactToClick(MTGCardInstance * card){
if (!isReactingToClick(card)) return 0;
source->tap();
isActive = true;
return 1;
}
virtual ostream& toString(ostream& out) const
{
out << "AGlassesOfUrza ::: display : " << display
<< " ; isActive : " << isActive
<< " (";
return MTGAbility::toString(out) << ")";
}
AGlassesOfUrza * clone() const{
AGlassesOfUrza * a = NEW AGlassesOfUrza(*this);
a->isClone = 1;
return a;
}
};
//1112 Howling Mine
class AHowlingMine:public MTGAbility{

View File

@@ -1092,12 +1092,6 @@ void AbilityFactory::addAbilities(int _id, Spell * spell){
game->addObserver(NEW AForceOfNature(_id,card));
break;
}
case 1110: //Glasses Of Urza
{
AGlassesOfUrza * ability = NEW AGlassesOfUrza(_id,card);
game->addObserver(ability);
break;
}
case 1112: //Howling Mine
{
game->addObserver(NEW AHowlingMine(_id, card));