This is a feature few people have been asking about.
Next version will (among other things) allow you to escape from battles.
I added multiple escape items, like smoke bombs or fire crackers. Using these in battle will quit the combat, show animation over an enemy that attacked you and make them slightly transparent.
The enemy will stay in one spot for certain amount of time, depending on the item you used. Smoke bombs will stun them for longer and give you about 4 seconds to retreat. Crackers will give you about 1.5 second. Once the stun wears off, the enemy will continue what he was doing before, which in most cases will be chasing you. Getting out of their aggro range before that happens will return them to their idle state.
There are a few quirks. Some of these are by desing, some of these are limitations of the system I didn't bother changing.
- Running from battle will reward you no experience points of any kind, even if the enemy is half dead or you even killed some members of a group before you retreat. You will still receive negative mood from fighting abominations, since this is applied at the start of the battle.
- Running away will reset the HP, SP and other stats your enemy has. You will still retain your injuries though.
- If you get attacked by enemies that have multiple overworld characters (like dogs or boars) and you escape, only the one enemy character that touched you will be stunned. The rest will still chase you. Group enemies like kobolds or abominations will be all stunned, because they are counted as one character.
Escape items will be craftable and you will be able to buy them too.