Closed Saintis closed 3 years ago
Hi, thanks for reporting these.
According to the log, the AI consciously chose not to rez. The reason it does this is because sometimes hidden information can be more valuable than credits (if it's already rezzed then the Runner can avoid a facecheck).
The AI will only choose not to rez using Send a Message if it will be able to afford the rez cost. Specifically, if this condition is true then it won't rez:
if (rezcost + 1 < credits)
(Line 2482 of systemgateway.js)
Maybe I've erred too much on the side of hiding information rather than saving credits. Feel free to suggest an improved condition.
I appreciate your suggestion about the log file. I'll create a separate issue for it.
I think that is a reasonable condition, but I would suggest adding another condition to always rez if the cost is greater than 5 (or greater than some fraction of the credits the corp currently has, e.g. 50%).
In the case above I knew there was a Pharos unrezzed (I had tranquilized it) that the AI did not choose to rez.
Thanks for that extra info. I'll also add a condition that if it is known to the Runner then the Corp will choose to rez it.
I stole Send a Message on an HQ run. AI corp did not use it. (I would imagine it would be benefitial to rez any piece of ice, but maybe it was not.)
Issue potentially cause by Pantograph trigger on steal.
(P.S. Github does not seem to accept .json files for upload, so maybe better to save the log file as .txt)
chiriboga-log-2021-10-24T12 11 03.954Z.txt