netrunner icon indicating copy to clipboard operation
netrunner copied to clipboard

You should be able to set your agenda points negative

Open queueseven opened this issue 10 years ago • 5 comments

queueseven avatar Jun 03 '16 14:06 queueseven

When Agenda Points are 0, clicking on the "-" button of the Agenda Points does not set the Agenda Points to -1. The Agenda Points stay to 0.

Salem sets agenda point to 1 (-1). Salem sets agenda point to 0 (-1). Salem sets agenda point to 0 (-1).

Salem2612 avatar Jun 08 '16 14:06 Salem2612

Yeah, it made sense in the past when there was no Shi.kyu or News Team....

queueseven avatar Jun 08 '16 19:06 queueseven

Do we want to set min / max limits? What else should go < 0?

Example: http://puu.sh/poW0w/618bd2b40d.png

domtancredi avatar Jun 11 '16 16:06 domtancredi

Basically, this is handled in the deduce function, which checks for limits prior to modifying:

(swap! state update-in [side attr] (if (or (= attr :memory) (= attr :hand-size-modification)) ;; Memory or hand size mod may be negative #(- % value) #(max 0 (- % value))))

https://github.com/mtgred/netrunner/blob/master/src/clj/game/core-costs.clj

domtancredi avatar Jun 11 '16 16:06 domtancredi

Ready to be closed

domtancredi avatar Jun 13 '16 05:06 domtancredi