An RPG battle system