Cautery Sliver prevent damage to opponent or AI use crash
Report wrong Card behavior to get it fixed.
PLEASE ADD SAVEGAMES TO YOUR TOPIC !
PLEASE ADD SAVEGAMES TO YOUR TOPIC !
Moderators: BAgate, drool66, Aswan jaguar, gmzombie, stassy, CCGHQ Admins
Cautery Sliver prevent damage to opponent or AI use crash
by Aswan jaguar » 21 Apr 2023, 12:36
Describe the Bug:
If I use Cautery Sliver's ability to prevent damage from Opponent it crashes. No issue if you target anything else. The same things probably happens when AI uses it to prevent damage. It produces the following error: (first 3 lines only) as the rest wont be the same for you.
Which update are you using? (date, name)Which type? (duel, gauntlet, sealed deck)
dev based on commit 461623e ("Fix Pygmy Hippo legacy doesn't ever resolve trigger", 2023-04-20)/ duel
What exactly should be the correct behavior/interaction?
No crash when Human uses it to target opponent or when AI uses it.
Are any other cards possibly affected by this bug?
-
If I use Cautery Sliver's ability to prevent damage from Opponent it crashes. No issue if you target anything else. The same things probably happens when AI uses it to prevent damage. It produces the following error: (first 3 lines only) as the rest wont be the same for you.
- Code: Select all
Assertion failed
functions/functions.c:2120
card_added != -1
Which update are you using? (date, name)Which type? (duel, gauntlet, sealed deck)
dev based on commit 461623e ("Fix Pygmy Hippo legacy doesn't ever resolve trigger", 2023-04-20)/ duel
What exactly should be the correct behavior/interaction?
No crash when Human uses it to target opponent or when AI uses it.
Are any other cards possibly affected by this bug?
-
Last edited by Aswan jaguar on 09 Mar 2024, 14:11, edited 2 times in total.
Reason: add comment to make things clear
Reason: add comment to make things clear
---
Trying to squash some bugs and playtesting.
Trying to squash some bugs and playtesting.
-
Aswan jaguar - Super Tester Elite
- Posts: 8103
- Joined: 13 May 2010, 12:17
- Has thanked: 736 times
- Been thanked: 472 times
Re: Cautery Sliver prevent damage to opponent or AI use cras
by Aswan jaguar » 09 Mar 2024, 14:13
Possibly commit: 167e8c7 ("Treefolk Healer and Serra's Hymn can prevent damage made to opponent", 2024-03-09) is relevant to this issue. See comments on Serra's Hymn code in source.
EDIT: The issue happens as the parent card is not there when the activated ability resolves as it has been already sacrificed for Cautery Sliver or has been discarded for Sunfire Balm.
EDIT: The issue happens as the parent card is not there when the activated ability resolves as it has been already sacrificed for Cautery Sliver or has been discarded for Sunfire Balm.
Last edited by Aswan jaguar on 09 Mar 2024, 14:55, edited 1 time in total.
Reason: add edit
Reason: add edit
---
Trying to squash some bugs and playtesting.
Trying to squash some bugs and playtesting.
-
Aswan jaguar - Super Tester Elite
- Posts: 8103
- Joined: 13 May 2010, 12:17
- Has thanked: 736 times
- Been thanked: 472 times
Re: Cautery Sliver prevent damage to opponent or AI use cras
by lyly19 » 16 Jul 2024, 08:27
It appears that cards using prevent_the_next_n_damage() and targeting opponents through a legacy, such as Cautery Sliver and Sunfire Balm, are experiencing crashes when activated, requiring attention to resolve these issues in human and AI interactions.
- lyly19
- Posts: 1
- Joined: 16 Jul 2024, 08:19
- Has thanked: 0 time
- Been thanked: 0 time
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests