mtgred / netrunner

http://www.jinteki.net
Other
900 stars 393 forks source link

Baba Yaga is copying restrictions on cards (e.g. Passport) #6237

Open lostgeek opened 2 years ago

lostgeek commented 2 years ago

Situation: Baba Yaga with a hosted Passport. Expected Behaviour: The copied ability from Passport on Baba Yaga can be used to break ice on remotes. Actual Behaviour: The ability only works on centrals.

Since we copy over the entire ability, we also copy the :req condition that is used to implement the central-only restriction on Passport. A potential solution might look like this (coming from discussions with Noah):

NBKelly commented 2 months ago

Note to myself for later: Since there's only a tiny number of relevant cards, it might be reasonable to have the req fns for these cards assert their card name for the restrictions.