mirror of
https://github.com/correl/mage.git
synced 2025-04-06 01:04:10 -09:00
fix
This commit is contained in:
parent
bb3ce04f27
commit
d05f6e1542
1 changed files with 4 additions and 0 deletions
|
@ -61,6 +61,10 @@ public class EntersBattlefieldEffect extends ReplacementEffectImpl<EntersBattlef
|
||||||
this.text = effect.text;
|
this.text = effect.text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void addEffect(Effect effect) {
|
||||||
|
baseEffects.add(effect);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean applies(GameEvent event, Ability source, Game game) {
|
public boolean applies(GameEvent event, Ability source, Game game) {
|
||||||
if (event.getType() == EventType.ENTERS_THE_BATTLEFIELD && event.getTargetId().equals(source.getSourceId())) {
|
if (event.getType() == EventType.ENTERS_THE_BATTLEFIELD && event.getTargetId().equals(source.getSourceId())) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue