forked from External/mage
refactor: fixed dies events support in single cards (part 4);
This commit is contained in:
parent
dc9f349828
commit
0689c56597
19 changed files with 159 additions and 37 deletions
|
|
@ -1256,6 +1256,9 @@ public abstract class AbilityImpl implements Ability {
|
|||
|
||||
return allEvents.stream().anyMatch(e -> {
|
||||
// TODO: add more events with zone change logic (or make it event's param)?
|
||||
// need research: is it ability's or event's task?
|
||||
// - ability's task: code like ability.setLookBackInTime
|
||||
// - event's task: code like current switch
|
||||
switch (e.getType()) {
|
||||
case DESTROYED_PERMANENT:
|
||||
case EXPLOITED_CREATURE:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue