Edited pirate battles

see lines 492-535