Shandalar - Program Bugs
Sanguine Bond + Exquisite Blood crash game (reviewed)
Reporting the Sanguine Bond + Exquisite Blood issue from ML3 to AS1 since they are in Shandalar now.
Comments
Posted by Korath » 18 Mar 2016, 20:50
I'm surprised LoseAtEndOfPhase=0 doesn't fix this. It did when I tested Justice+Opalescence+Chaoslace. Maybe static effects aren't getting run since there's no opportunity to respond, as there is for damage triggers (during damage prevention).
Posted by Korath » 20 Mar 2016, 06:21
Probably the best short-term solution is to add a recursion depth sentinel to dispatch_trigger2() and dispatch_xtrigger2(). If it gets high enough, then force the normal life checks from recalculate_all_cards_in_play() (the closest analogue MPMTG has to modern rules state-based actions); if neither player is at or below 0 life or there's something like Lich or Platinum Angel that keeps that from ending the game or the option to check life only at end-of-phase is on, then draw the game.
In the long term, of course, there'll be an opportunity to play more spells or abilities onto the stack, so it'll take care of itself. The recursion sentinel will probably still have to stay to detect draws, but it'll be much less reliable.
In the medium term, it's not clear whether adding a life check at each call to dispatch_(x)trigger2() will make things more or less accurate.
In any case, I'm punting on this until at least AS3.
In the long term, of course, there'll be an opportunity to play more spells or abilities onto the stack, so it'll take care of itself. The recursion sentinel will probably still have to stay to detect draws, but it'll be much less reliable.
In the medium term, it's not clear whether adding a life check at each call to dispatch_(x)trigger2() will make things more or less accurate.
In any case, I'm punting on this until at least AS3.
Last edited by Korath on 20 Mar 2016, 06:22, edited 1 time in total.
Reason: irritating typo
Reason: irritating typo
2 Posts
• Page 1 of 1
Ticket details
- Ticket ID: 1056
- Project: Shandalar
- Status: Reviewed
- Component: Duel Engine
- Project version: Abandoned Shrine 1
- Priority: Normal
- Severity: Normal
- Assigned to: (unassigned)
- Reported by: stassy
- Reporter's tickets: List all tickets
- Reported on: 18 Mar 2016, 06:26
- Last visited by drool66 » 02 Jan 2017, 22:13.
