Skip to content

Commit c025a2f

Browse files
committed
"Shadow Severing Strike" fix
- fixed a bug where it would still remember the types of cards banished even after its effect was used
1 parent bfff809 commit c025a2f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

official/c57232301.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,13 @@ function s.regfilter(c)
4848
return c:IsFaceup() and c:IsPreviousLocation(LOCATION_HAND|LOCATION_ONFIELD) and c:IsReason(REASON_COST)
4949
end
5050
function s.regop(e,tp,eg,ep,ev,re,r,rp)
51+
if not e:GetLabelObject():CheckCountLimit(tp) then return end
5152
if not (re and re:IsActivated() and re:IsMonsterEffect()) then return false end
5253
local og=eg:Filter(s.regfilter,nil)
5354
if #og>0 then
5455
local types=0
5556
for tc in og:Iter() do
56-
types=types|tc:GetType()&(TYPE_MONSTER|TYPE_SPELL|TYPE_TRAP)
57+
types=types|tc:GetMainCardType()
5758
end
5859
local label=e:GetLabel()
5960
e:SetLabel(label|types)

0 commit comments

Comments
 (0)