that's what I'd guessCarlo the Curious wrote:Maybe it's starting from when the hull hits 87%, with a check at that point, then 30s, etc.
that's what the IF statements seem to imply... hm... I admit it does sound weird. I'll go through the code and comments again (they arent exactly clear)eldarmark wrote:The impression I got from the summary was that you have a certain % chance to cap at 87%, then another, slightly smaller chance to cap when you next hit them for hull damage after 30 seconds, then 60, then...pjknibbs wrote:Something is wrong with that analysis somewhere--it's easily possible to capture a ship without having to blast away at it for 30 seconds, which you seem to think is the case.
Seems to me the moral remains unchanged, so it's probably set on ship's creation.eldarmark wrote: Wonder what affects morale. I would assume that hurting them a LOT really quickly would affect it. Perhaps that offsets the IonDs adjustment -- since they hurt shields a LOT, really quickly, the adjustment is there to offset the huge morale penalty that they take?
Certain ships, like Xenon tend to have morale in 20s and higher. At least I havent seen one lower yet. (not that I checked that too often).
EDIT
the IF statement that checks the time intervals wraps through the whole capture probability logic,
Code: Select all
if (ga_Player.GetAge() > sh_NextTakeoverChanceTime) {
I cant say for sure one way or another.
It's possible that the number "30" is not in seconds... if only we knew what that GetAge returns... on the other hand, there might be a similar function in script editor, ... wonder what that returns
(thinking outloud now)
END OF EDIT