- Fix for issue 614 (removed hardcoded Howling Mine)

- Fix for issue 615 (Linux/PSP compilation error)
This commit is contained in:
wagic.the.homebrew@gmail.com
2011-03-31 09:38:04 +00:00
parent 27c9391876
commit 3c691b6741
4 changed files with 25 additions and 36 deletions
+1 -31
View File
@@ -2907,10 +2907,10 @@ public:
string name;
string sabilities;
string starfound;
string spt;
WParsedInt * multiplier;
int who;
bool aLivingWeapon;
string spt;
bool battleReady;
MTGCardInstance * myToken;
vector<MTGAbility *> currentAbilities;
@@ -4488,36 +4488,6 @@ public:
}
};
//1112 Howling Mine
class AHowlingMine: public MTGAbility
{
public:
AHowlingMine(int _id, MTGCardInstance * _source) :
MTGAbility(_id, _source)
{
}
void Update(float dt)
{
if (newPhase != currentPhase && newPhase == Constants::MTG_PHASE_DRAW && !source->isTapped())
{
game->mLayers->stackLayer()->addDraw(game->currentPlayer);
}
}
virtual ostream& toString(ostream& out) const
{
out << "AHowlingMine ::: (";
return MTGAbility::toString(out) << ")";
}
AHowlingMine * clone() const
{
AHowlingMine * a = NEW AHowlingMine(*this);
a->isClone = 1;
return a;
}
};
//Kjeldoran Frostbeast
class AKjeldoranFrostbeast: public MTGAbility
{