forked from External/mage
[MAT] Implement Deification, fix access to counter removal damage checkers (#12215)
* Make ChoosePlaneswalkerTypeEffect * Make REMOVE_COUNTER and REMOVE_COUNTERS events so they can be replaced/modified * Deification initial attempt, need to filter for damage * add optional damage flag to removeCounters * wrap logs in sim check * check that planeswalker is chosen subtype * cast to RemoveCountersEvent and reduce indents * use counterRemovedDueToDamage * add tests * make other counterRemovedDueToDamage headers public * remove logs * remove isSimulation check from informPlayers * remove logger * make chosen planeswalker type predicate * move event modification to replaceEvent
This commit is contained in:
parent
85cad4ff1e
commit
82069ef2e8
8 changed files with 333 additions and 3 deletions
|
|
@ -26,7 +26,7 @@ public class RemoveCountersEvent extends GameEvent {
|
|||
this.isDamage = isDamage;
|
||||
}
|
||||
|
||||
boolean counterRemovedDueToDamage(){
|
||||
public boolean counterRemovedDueToDamage(){
|
||||
return this.isDamage;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue