Fixed Mana Drain (issue #1060 by @Gourajiro), fixed Reinterpret, fixed the taskboard menu choice during game.
This commit is contained in:
@@ -35756,26 +35756,10 @@ toughness=5
|
||||
name=Mana Drain
|
||||
target=*|stack
|
||||
auto=fizzle
|
||||
auto=if compare(manacost)~equalto~1 then @next my secondmain:add{1}
|
||||
auto=if compare(manacost)~equalto~2 then @next my secondmain:add{2}
|
||||
auto=if compare(manacost)~equalto~3 then @next my secondmain:add{3}
|
||||
auto=if compare(manacost)~equalto~4 then @next my secondmain:add{4}
|
||||
auto=if compare(manacost)~equalto~5 then @next my secondmain:add{5}
|
||||
auto=if compare(manacost)~equalto~6 then @next my secondmain:add{6}
|
||||
auto=if compare(manacost)~equalto~7 then @next my secondmain:add{7}
|
||||
auto=if compare(manacost)~equalto~8 then @next my secondmain:add{8}
|
||||
auto=if compare(manacost)~equalto~9 then @next my secondmain:add{9}
|
||||
auto=if compare(manacost)~equalto~10 then @next my secondmain:add{10}
|
||||
auto=if compare(manacost)~equalto~11 then @next my secondmain:add{11}
|
||||
auto=if compare(manacost)~equalto~12 then @next my secondmain:add{12}
|
||||
auto=if compare(manacost)~equalto~13 then @next my secondmain:add{13}
|
||||
auto=if compare(manacost)~equalto~14 then @next my secondmain:add{14}
|
||||
auto=if compare(manacost)~equalto~15 then @next my secondmain:add{15}
|
||||
auto=if compare(manacost)~equalto~16 then @next my secondmain:add{16}
|
||||
auto=if compare(manacost)~equalto~17 then @next my secondmain:add{17}
|
||||
auto=if compare(manacost)~equalto~18 then @next my secondmain:add{18}
|
||||
auto=if compare(manacost)~equalto~19 then @next my secondmain:add{19}
|
||||
auto=if compare(manacost)~equalto~20 then @next my secondmain:add{20}
|
||||
anyzone=if casted(this) then if compare(hasstorecard)~morethan~0 then if compare(restriction{opponentturnonly}~morethan~0) then transforms((,newability[becomes(,,blue),newability[thisforeach(variable{storedmanacost}>0) phaseaction[my firstmain once]:add{1}])) oneshot
|
||||
anyzone=if casted(this) then if compare(hasstorecard)~morethan~0 then if compare(restriction{myturnonly}~morethan~0) then if compare(currentphase)~lessthan~4 then transforms((,newability[becomes(,,blue),newability[thisforeach(variable{storedmanacost}>0) phaseaction[my firstmain once]:add{1}])) oneshot
|
||||
anyzone=if casted(this) then if compare(hasstorecard)~morethan~0 then if compare(restriction{myturnonly}~morethan~0) then if compare(currentphase)~morethan~3 then if compare(currentphase)~lessthan~10 then transforms((,newability[becomes(,,blue),newability[thisforeach(variable{storedmanacost}>0) phaseaction[my secondmain once]:add{1}])) oneshot
|
||||
anyzone=if casted(this) then if compare(hasstorecard)~morethan~0 then if compare(restriction{myturnonly}~morethan~0) then if compare(currentphase)~morethan~9 then transforms((,newability[becomes(,,blue),newability[thisforeach(variable{storedmanacost}>0) phaseaction[my firstmain once]:add{1}])) oneshot
|
||||
text=Counter target spell. At the beginning of your next main phase, add {X} to your mana pool, where X is that spell's converted mana cost.
|
||||
mana={U}{U}
|
||||
type=Instant
|
||||
@@ -46303,7 +46287,7 @@ type=Instant
|
||||
name=Reinterpret
|
||||
target=*|stack
|
||||
auto=fizzle
|
||||
autograveyard=if compare(hasstorecard)~morethan~0 then name(Cast spell from hand) may name(Cast spell from hand) target(*[-land;manacost<=storedmanacost]|myhand) activate castcard(normal)
|
||||
anyzone=if casted(this) then if compare(hasstorecard)~morethan~0 then name(Cast spell from hand) may name(Cast spell from hand) target(*[-land;manacost<=storedmanacost]|myhand) activate castcard(normal)
|
||||
text=Counter target spell. You may cast a spell with an equal or lesser mana value from your hand without paying its mana cost.
|
||||
mana={2}{U}{R}
|
||||
type=Instant
|
||||
|
||||
@@ -1682,6 +1682,7 @@ void GameStateDuel::ButtonPressed(int controllerId, int controlId)
|
||||
// break;
|
||||
case MENUITEM_TASKBOARD:
|
||||
if(taskList->getState() != TaskList::TASKS_ACTIVE){
|
||||
taskList->load(options.profileFile(PLAYER_TASKS).c_str());
|
||||
taskList->Start();
|
||||
} else {
|
||||
taskList->End();
|
||||
|
||||
Reference in New Issue
Block a user