So what i think happened is that the Majorcan fleet was going to ram that pirate ship, but they lit them self on fire causing the Majorcan fleet to make a hard turn. And this made the Majorcan fleet split up somewhat allowing the pirate fleet to surround Urraca.