Force the line endings to Unix on this file.
This commit is contained in:
@@ -55,7 +55,6 @@ int ExtraCost::setPayment(MTGCardInstance * card){
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
//life cost
|
||||
LifeCost * LifeCost::clone() const{
|
||||
LifeCost * ec = NEW LifeCost(*this);
|
||||
@@ -96,6 +95,7 @@ int DiscardRandomCost::canPay(){
|
||||
if(nbcards < 1) return 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
int DiscardRandomCost::doPay(){
|
||||
MTGCardInstance * _target = (MTGCardInstance *) target;
|
||||
if(target){
|
||||
@@ -163,17 +163,17 @@ MillExileCost::MillExileCost(TargetChooser *_tc)
|
||||
mCostRenderString = "Deplete To Exile";
|
||||
}
|
||||
|
||||
int MillExileCost::doPay(){
|
||||
MTGCardInstance * _target = (MTGCardInstance *) target;
|
||||
if(target){
|
||||
_target->controller()->game->putInZone(_target->controller()->game->library->cards[_target->controller()->game->library->nb_cards-1],
|
||||
_target->controller()->game->library,
|
||||
_target->controller()->game->exile);
|
||||
target = NULL;
|
||||
if (tc) tc->initTargets();
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
int MillExileCost::doPay(){
|
||||
MTGCardInstance * _target = (MTGCardInstance *) target;
|
||||
if(target){
|
||||
_target->controller()->game->putInZone(_target->controller()->game->library->cards[_target->controller()->game->library->nb_cards-1],
|
||||
_target->controller()->game->library,
|
||||
_target->controller()->game->exile);
|
||||
target = NULL;
|
||||
if (tc) tc->initTargets();
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
//Tap target cost
|
||||
|
||||
Reference in New Issue
Block a user