Skip to content

fix incorrect use of aux.NecroValleyFilter with card argument#3235

Open
IMJoyJ wants to merge 1 commit into
Fluorohydride:masterfrom
IMJoyJ:nv_filter_fix
Open

fix incorrect use of aux.NecroValleyFilter with card argument#3235
IMJoyJ wants to merge 1 commit into
Fluorohydride:masterfrom
IMJoyJ:nv_filter_fix

Conversation

@IMJoyJ

@IMJoyJ IMJoyJ commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

function Auxiliary.NecroValleyFilter(f)
return function(target,...)
return (not f or f(target,...)) and not target:IsHasEffect(EFFECT_NECRO_VALLEY)
end
end

aux.NecroValleyFilter takes a function and returns a function.
taking a Card object is not the supposed usage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant