Page 1 of 1

[fixed]Charisma left battlefield but gained damaged creature

PostPosted: 13 Jan 2018, 11:54
by Aswan jaguar
Describe the Bug:
1- I had Spire Owl enchanted with Charisma attacked and AI blocked with Skittering Skirge. Spire Owl died Charisma left the battlefield but still I gained Skittering Skirge for good. fixed
2- Also I don't know if AI is able to cast it as never did in several games.
Which card did behave improperly?
Charisma

Which update are you using? (date, name)Which type? (duel, gauntlet, sealed deck)
Manalink dev 778ccb5 version - duel

What exactly should be the correct behavior/interaction?
1- Charisma: Whenever enchanted creature deals damage to a creature, gain control of the other creature for as long as Charisma remains on the battlefield.
Note: I don't know if the correct behavior would be to gained it temporarily and then return it to it's owner.
2- AI is able to cast it.
Are any other cards possibly affected by this bug?
-

Re: Charisma left battlefield but gained damaged creature

PostPosted: 29 Apr 2019, 12:05
by Aswan jaguar
I have fixed the original bug in commit e9336d72.
It has another bug which makes Charisma to steal creature every 2nd time enchanted creature deals damage.
e.g If it deals damage to creature A for first time nothing happens.
Now a): if it deals damage again to creature A,
b): or deals damage to a new creature B,
then it triggers and steals either creature A in case a), or both creatures in case b).

Re: Charisma left battlefield but gained damaged creature

PostPosted: 01 May 2019, 05:57
by Korath
Aswan jaguar wrote:1- Charisma: Whenever enchanted creature deals damage to a creature, gain control of the other creature for as long as Charisma remains on the battlefield.
Note: I don't know if the correct behavior would be to gained it temporarily and then return it to it's owner.
611.2b Some continuous effects generated by the resolution of a spell or ability have durations worded "for as long as . . . ." If the "for as long as" duration never starts, or it ends before the moment the effect would
first be applied, the effect does nothing. It doesn't start and immediately stop again, and it doesn't last forever.
Example: Master Thief has the ability "When Master Thief enters the battlefield, gain control of target artifact for as long as you control Master Thief." If you lose control of Master Thief before the ability resolves, it does nothing, because its duration-as long as you control Master Thief-was over before the effect began.

So the way this should work is, your Charismatic Spire Owl should deal damage to the Skittering Skirge. Charisma triggers and waits to be put onto to the stack. The next time a player would get priority, the trigger is put onto the stack and state-based actions are checked. One of those state-based actions, 704.5g, sees that the Owl has fatal damage marked on it, so it dies (unless it has a regeneration shield or similar replacement effect). State-based actions are checked again, and per 704.5m, the Charisma sees that it's not attached to anything anymore and is put into its owner's graveyard. Then, eventually, Charisma's trigger resolves, and nothing happens.

In Manalink, the trigger resolves immediately, in the middle of dealing damage, so preventing the control change entirely is going to be difficult at best. Probably not worth the trouble.

Re: [fixed]Charisma left battlefield but gained damaged crea

PostPosted: 05 Jun 2020, 14:16
by Aswan jaguar
Fixed in commit 0abe1b1.