Rolling Brownout displays effect in chat log, but doesn't update credit totals
Visible in this stream about about 1h 40m into the recording
https://www.youtube.com/watch?v=9P9HYDBMmt8
update: "hiddenaway [1:31 PM] I just had a quick peek at the code for Rolling Brownout - it's just missing the :corp identifier in the card..."
apparently it is giving the credit to the runner?
Looking at the code within netrunner/src/clj/game/cards/operations.clj, it just needs the :corp part added to the card for events (but those with better knowledge of the code can double check):
Lines 1092-1097:
"Rolling Brownout" {:msg "increase the play cost of operations and events by 1 [Credits]" :events {:play-event {:once :per-turn :msg "to gain 1 [Credits]" :effect (effect (gain :corp :credit 1))} :pre-play-instant {:effect (effect (play-cost-bonus [:credit 1]))}}}
https://youtu.be/9P9HYDBMmt8?t=1h38m39s
In the stream, you can see that Build Script is played (original cost 0) with Rolling Brownout in play. The event costs 1 credit and the runner should gain a credit from the effect (the effect should cancel out, so the runner should remain at 5 credits). The corp should gain a credit due to the effect.
However, the runner gains the credit instead and after build script, ends on 6 credits, while the corp does not get the effect.
The text in the chat also repeats the word "to" twice. However, I can't locate the file that needs changing
:msg "to gain 1 [Credits]"
should be
:msg "gain 1 [Credits]"
Using :msg automatically constructs a string of the form: "PlayerName uses CardName to ", which is what the part in quotes should never have "to" in it.