It is currently 16 Apr 2024, 10:44
   
Text Size

[fixed] Lucent Liminid isn't castable

Moderators: BAgate, drool66, Aswan jaguar, gmzombie, stassy, CCGHQ Admins

[fixed] Lucent Liminid isn't castable

Postby Korath » 19 Nov 2021, 09:53

Describe the Bug:
Lucent Liminid gets highlighted yellow when you have sufficient mana to cast it, but nothing happens when you click on it.

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

What exactly should be the correct behavior/interaction?
Same as any other vanilla creature.

Are any other cards possibly affected by this bug?
Any cards with any of TYPE_INTERRUPT, TYPE_INSTANT, TYPE_SORCERY, or TYPE_ENCHANTMENT set has to return 1 from EVENT_CAN_CAST to be playable. (Which is the only thing flash() and global_enchantment() do that accomplishes anything.) So Illusory Ambusher, at least, which doesn't have its trigger either. I could post a complete list of cards flagged one of those, CODED CARD, and at least one of TYPE_ARTIFACT, TYPE_CREATURE, or TYPE_LAND, but there's a lot of them, most are probably ok, and plenty haven't been announced as implemented yet.
Last edited by drool66 on 28 Nov 2021, 02:48, edited 2 times in total.
Reason: confirmed
User avatar
Korath
DEVELOPER
 
Posts: 3707
Joined: 02 Jun 2013, 05:57
Has thanked: 496 times
Been thanked: 1106 times

Re: Lucent Liminid isn't castable

Postby drool66 » 19 Nov 2021, 19:01

Weird, I could have sworn we had (french) vanilla enchantment creatures covered - didn't we have Nyxborn Colossus et al at one point?
These should probably just use 0x2023ca (Doubling Season)
So Illusory Ambusher, at least, which doesn't have its trigger either.
Looks like it's handled in effect_damage() when it should have a damage_dealt_to_me_arbitrary()
I could post a complete list of cards flagged one of those, CODED CARD, and at least one of TYPE_ARTIFACT, TYPE_CREATURE, or TYPE_LAND
Maybe TYPE_INTERRUPT, TYPE_INSTANT, TYPE_SORCERY, or TYPE_ENCHANTMENT + CODED CARD + CODE POINTER == 0x401000 or 0x000000 ? Certainly wouldn't be exhaustive, but everything on that list would be an error.
User avatar
drool66
Programmer
 
Posts: 1163
Joined: 25 Nov 2010, 22:38
Has thanked: 186 times
Been thanked: 267 times

Re: Lucent Liminid isn't castable

Postby Korath » 19 Nov 2021, 19:52

Looks like we lost THB's cycle of five vanilla enchantment creatures and Knight of the Keep in commit 86a599c3f1. My fault. In my inadvertent defense, they used 0x401000 so wouldn't have worked anyway.

Looking specifically for 0x401000 was how I found Illusory Ambusher. It's the only one with that address that matches all the other conditions.

There aren't any cards as of 913cddcc6 marked CODED CARD with null function address; case 23 in test.pl looks specifically for them. It won't see emblems or backs of dfcs or alternate versions of e.g. the Theros bestow cards, though.
User avatar
Korath
DEVELOPER
 
Posts: 3707
Joined: 02 Jun 2013, 05:57
Has thanked: 496 times
Been thanked: 1106 times

Re: [confirmed] Lucent Liminid isn't castable

Postby drool66 » 28 Nov 2021, 02:47

Fixed in 3c76177
User avatar
drool66
Programmer
 
Posts: 1163
Joined: 25 Nov 2010, 22:38
Has thanked: 186 times
Been thanked: 267 times


Return to Archived Reports

Who is online

Users browsing this forum: No registered users and 34 guests

cron

Who is online

In total there are 34 users online :: 0 registered, 0 hidden and 34 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 34 guests

Login Form