netrunner icon indicating copy to clipboard operation
netrunner copied to clipboard

Integer underflow when stealing City Works Project, 2x Paparazzi & Citadel Sanctuary installed

Open bryantjs6 opened this issue 7 years ago • 1 comments

Chat log:

image

It had no advancement tokens.

bryantjs6 avatar Dec 03 '19 05:12 bryantjs6

Thanks for the report! Paparazzi is implemented by just preventing MAX_INT damage instead of adding an option to really prevent all damage. I do not know why the message is showing MAX_INT-1 though.

    :events [{:event :pre-damage
              :req (req (= target :meat)) :msg "prevent all meat damage"
              :effect (effect (damage-prevent :meat Integer/MAX_VALUE))}]

lostgeek avatar Dec 03 '19 08:12 lostgeek