netrunner icon indicating copy to clipboard operation
netrunner copied to clipboard

Marjanah not getting discount

Open Red-Gordon opened this issue 5 years ago • 7 comments

The cost to use Marjanah is not changing after the first run of a turn.

Red-Gordon avatar Apr 01 '21 17:04 Red-Gordon

Thanks for the report!

NoahTheDuke avatar Apr 01 '21 18:04 NoahTheDuke

I think this is just a display issue, using the ability costs the correct amount

merrickbrown avatar Apr 03 '21 02:04 merrickbrown

marjanah bug Nah, definitely costs the full 2/sub, I just came across it myself and hit "pay 10 to fully break" just to check if it was just a display bug or not. It cost me the full 10.

manveruppd avatar Apr 04 '21 19:04 manveruppd

I think this is just a display issue, using the ability costs the correct amount

This was also my experience: the amount of credits paid was correct, but the message shown was misleading.

francescopellegrini avatar May 12 '21 12:05 francescopellegrini

Also I can confirm that the match-strength-and-fully-break shortcut makes you pay it in full.

francescopellegrini avatar May 13 '21 22:05 francescopellegrini

I've investigated a little bit on what's happening here, though I'm definitely no Clojure expert:

So, could Marjanah's break-sub function be refactored to look more like Odore's?

francescopellegrini avatar May 14 '21 15:05 francescopellegrini

Looks like we should be using break-sub-ability-cost from game.core.cost-fns to calculate the cost, as relying strictly on :break-cost won't capture the full story, as you've noted. Thanks for doing the research!

NoahTheDuke avatar May 14 '21 15:05 NoahTheDuke