[Posting] Re: Rob Failed
From:ComCitCat
Thread:Rob Failed
Forum:Bugs
In reply to:Re: Rob Failed
Date:Tue, 2020-06-30 19:46 GMT

Hi James T. Plagerism,

your analysis is pretty much to the point: PHost decides once that the mission will fail ("oh crap, I cannot get the engine to start. I'm back in my bunk."), not for each found victim ship ("oops, we cannot get through their shields; let's try the next victim").

This means you'll always rob all or nothing.

It has always been this way in PHost. It started getting visible when I added some messages to tell you why nothing happened. But it can be proven even without messages: given a universe with 20 groups of 1 Privateer MCBR and 24 Fed MDSF each, we'll get a result like this (number of ships robbed per group):

 24  0  0  0  0 24  0  0 24 24 24  0 24 24 24 24  0 24 24 24

Interestingly, Tim-Host uses the other interpretation and rolls a die for each encountered victim. The same test case looks like this in THost 3.22.40:

  8  8  9 13 13 14 10 14 13 13 14 15 12 14 14  9  9 11 12  9

I tend to consider Tim's behaviour more logical here, especially given that RobCloakedChance works the same way (tested for each victim) also in PHost. Any other opinions on that matter? Then I might even change it :smile:

--Stefan

hold on pls. This looks cracy. The rob failur odds for PHost is usually 1%. Which means a mean of 0.2 in 20 stacks. Which is far far far far far away from 8. (maybe 16 sigma?)

Is this check done for every ship to rob, so you rob 24 ships you got a rough 24% chance for complete fail?? Does that mean I can protect my ships against robbing by banding them together???

Then again I can't explain the THost numbers with anything around 1% chance. If that roll is done for any MCBR and victim separetely than it looks like 50% failur odds and you got lucky.