File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -105,16 +105,16 @@ function Cryptid.pointergetblist(target) -- "Is this card pointer banned?"
105105 if not target then
106106 results [1 ] = true
107107 end
108- if G .GAME .banned_keys [target ] then
108+ if G .GAME .banned_keys [target ] or ( type ( target ) == " table " and G . GAME . banned_keys [ target . key ]) then
109109 results [1 ] = true
110110 end
111111 for index , value in ipairs (Cryptid .pointerblist ) do
112- if target == value then
112+ if target == value or ( type ( target ) == " table " and target . key ) then
113113 results [1 ] = true
114114 end
115115 end
116- if results [1 ] ~= true and G .P_CENTERS [target ] then
117- target = G .P_CENTERS [target ]
116+ if results [1 ] ~= true and ( G .P_CENTERS [target ] or ( type ( target ) == " table " and G . P_CENTERS [ target . key ])) then
117+ target = ( G .P_CENTERS [target ] or ( type ( target ) == " table " and G . P_CENTERS [ target . key ]))
118118 for value , power in pairs (Cryptid .pointerblisttype ) do
119119 for index , val2 in pairs (target ) do
120120 if value == index then
You can’t perform that action at this time.
0 commit comments