Working on effects

This has introduced a bug where the effects of cards have a different
reference to their parent card than the State has.