Page 1 of 1

[confirmed]Ice Cage / beginning_of_combat() interaction

PostPosted: 16 Mar 2022, 22:18
by gnomefry
Describe the Bug:

If I target a creature with Xenagos, God of Revels beginning-of-combat ability while that targeted creature is enchanted with Ice Cage, Ice Cage is not destroyed.

If I target the same creature with Ersatz Gnomes target ability, Ice Cage is destroyed. Ditto for when I use a targeted instant such as Precise Strike.

What I don't know is whether the issue is due to how Xenagos targeted ability is coded, the phase (combat) that it happens during, or what the Ice Cage enchantment can recognize.

Which update are you using? (date, name)Which type? (duel, gauntlet, sealed deck)

Holidays 2021 ad1a6f8 - gauntlet

What exactly should be the correct behavior/interaction?

Ice Cage gets destroyed when enchanted creature is the target of a spell or ability.

Are any other cards possibly affected by this bug?

Re: [confirmed]Ice Cage / beginning_of_combat() interaction

PostPosted: 20 Mar 2022, 09:35
by Aswan jaguar
Confirmed beginning_of_combat() used by Xenagos, God of Revels doesn't use "trigger system" and so this doesn't work.

Re: [confirmed]Ice Cage / beginning_of_combat() interaction

PostPosted: 22 Mar 2022, 01:35
by drool66
Working now on dispatching EVENT_TARGET for these kind of abilities.
EDIT: harder than I thought because some cards handroll their own targeting functions