* Library of Leng - fixed that it triggers on discarded cards from cost part instead only effect part (#3047);

This commit is contained in:
Oleg Agafonov 2019-07-08 08:31:55 +04:00
parent d6c99437f3
commit 79d40754ed
3 changed files with 57 additions and 41 deletions

View file

@ -21,6 +21,7 @@ public class GameEvent implements Serializable {
// flags:
// for counters: event is result of effect (+1 from planeswalkers is cost, not effect)
// for combat damage: event is preventable damage
// for discard: event is result of effect (1) or result of cost (0)
protected boolean flag;
protected String data;
protected Zone zone;