mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 11:32:00 -08:00
* Dragon Tempest - Fixed a problem if damage was redirected (e.g. with Spellskite) - (fixes #3887).
This commit is contained in:
parent
7e8dcef120
commit
cb15d4728d
2 changed files with 8 additions and 5 deletions
|
|
@ -105,6 +105,9 @@ public class EntersBattlefieldAllTriggeredAbility extends TriggeredAbilityImpl {
|
|||
UUID targetId = event.getTargetId();
|
||||
Permanent permanent = game.getPermanent(targetId);
|
||||
if (permanent != null && filter.match(permanent, getSourceId(), getControllerId(), game)) {
|
||||
for (Effect effect : this.getEffects()) {
|
||||
effect.setValue("permanentEnteringBattlefield", permanent);
|
||||
}
|
||||
if (setTargetPointer != SetTargetPointer.NONE) {
|
||||
for (Effect effect : this.getEffects()) {
|
||||
switch (setTargetPointer) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue