Hi.I want to make a thief enemy.When this enemy attacks you,it steals a fixed amount of gold.The amount of stolen gold is also displayed as state.But when we kill the thief, we also get the stolen gold back and it is indicated on the screen.How can we do this?
You can do this easily if you own the Wave 5 plugin bundle, there's a notetag for enemies which does just that.