Add Magic action to the player and optimize the fight action + little fixes