It should be easy, right? Princess kills herself, summons a knight and only then the game checks if the battle is finished? Unfortunately it only seems so when there are many different objects interacting with one another… Exactly the same problem would/could happen with mana redistribution.