Hacker News new | past | comments | ask | show | jobs | submit login

State reset isn't the right term. You want something like "Reveal two cards from your hand. Pay the casting cost for one. If it successfully resolves, exile the second card. If it does not, put the second card into play as if it were cast."



As it turns out, that also doesn't work because you can't just put something into play or it would skip some triggers and activate others it wouldn't normally. So the code is statefully different if it's in the "catch" instead of the "try"




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: