Meximaster
Landlubber
If you change iOfficersQuantity = 1+rand(2); to iOfficersQuantity = 1+rand(6); nothing will happen, except the queue will overfloat.
The max slot number is 3, by default every time a game begins the slots are initiated and the slot number calculated, using this iOfficersQuantity = 1+rand(2); activates the slots and randomly you will have from 1 to 3 officers per island.
If you change the code to iOfficersQuantity = 3 then ALWAYS at every island you will have 3 officers to pick ( or less depending if they are already hired or not )
But the most fair and realistic is iOfficersQuantity = 1+rand(2); default code.
Already fixed the officer flush bug, posted here : <a href="http://www.piratesahoy.com/forum/index.php?showtopic=8655" target="_blank">http://www.piratesahoy.com/forum/index.php?showtopic=8655</a>
The max slot number is 3, by default every time a game begins the slots are initiated and the slot number calculated, using this iOfficersQuantity = 1+rand(2); activates the slots and randomly you will have from 1 to 3 officers per island.
If you change the code to iOfficersQuantity = 3 then ALWAYS at every island you will have 3 officers to pick ( or less depending if they are already hired or not )
But the most fair and realistic is iOfficersQuantity = 1+rand(2); default code.
Already fixed the officer flush bug, posted here : <a href="http://www.piratesahoy.com/forum/index.php?showtopic=8655" target="_blank">http://www.piratesahoy.com/forum/index.php?showtopic=8655</a>