- Fix for issue 614 (removed hardcoded Howling Mine)
- Fix for issue 615 (Linux/PSP compilation error)
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user