Faction warfare and pirate reputation