Sharks get a random amount of shrap each time they spawn. Below is explained how it's handled.
The bounty your ship starts with determines how many prizes to give the player when spawned. The way this works is that for every bounty you start with, a prize is given similar to how a green gives you a prize.
Here are the current prize weight settings in the basing arenas:
This gives shrapnel a 100 out of 575 (4/23 or ~17.39%) chance of being prized each time. Since the initial bounty is 3, the chance to spawn with:
Instead of the game giving the prizes on spawn, the initial bounty will be set to 0, and the bot gives the prizes instead. The probability will stay exactly the same, but now the bot knows exactly your shrap amount and can use that to display a number next to your bomb icon, or show dots representing the shrap amount below your ship.
The bounty your ship starts with determines how many prizes to give the player when spawned. The way this works is that for every bounty you start with, a prize is given similar to how a green gives you a prize.
Here are the current prize weight settings in the basing arenas:
Code:
[PrizeWeight] QuickCharge=0 Energy=0 Rotation=0 Stealth=0 Cloak=0 AntiWarp=0 XRadar=50 Warp=0 Gun=0 Bomb=0 BouncingBullets=0 Thruster=0 TopSpeed=0 Recharge=0 MultiFire=255 Proximity=0 Glue=0 AllWeapons=0 Shields=0 Shrapnel=100 Repel=100 Burst=50 Decoy=0 Thor=0 Portal=20 Brick=0 Rocket=0 MultiPrize=0
This gives shrapnel a 100 out of 575 (4/23 or ~17.39%) chance of being prized each time. Since the initial bounty is 3, the chance to spawn with:
- 0 shrap is ~56.37% (19/23 ^ 3)
- 3 shrap is ~35.60% (4/23 * 19/23 ^ 2 * 3)
- 5 shrap is ~8.02% (4/23 ^ 2 * 19/23 * 3 + 4/23 ^ 3)
Instead of the game giving the prizes on spawn, the initial bounty will be set to 0, and the bot gives the prizes instead. The probability will stay exactly the same, but now the bot knows exactly your shrap amount and can use that to display a number next to your bomb icon, or show dots representing the shrap amount below your ship.
Comment