Skip to content

Commit 4d66f58

Browse files
authored
Fix "Witchcrafter Genni"
Missing declaration caused incorrect banishing behavior.
1 parent a04d15d commit 4d66f58

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

official/c64756282.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
5858
local c=e:GetHandler()
5959
if chk==0 then return c:IsAbleToRemoveAsCost() and Duel.IsExistingMatchingCard(s.copyfilter,tp,LOCATION_GRAVE,0,1,nil) end
6060
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
61-
local g=Duel.SelectMatchingCard(tp,s.copyfilter,tp,LOCATION_GRAVE,0,1,1,nil)
61+
local tc=Duel.SelectMatchingCard(tp,s.copyfilter,tp,LOCATION_GRAVE,0,1,1,nil):GetFirst()
6262
Duel.Remove(Group.FromCards(tc,c),POS_FACEUP,REASON_COST)
63-
local te=g:GetFirst():CheckActivateEffect(true,true,false)
63+
local te=tc:CheckActivateEffect(true,true,false)
6464
e:SetLabel(te:GetLabel())
6565
e:SetLabelObject(te:GetLabelObject())
6666
local tg=te:GetTarget()
@@ -80,4 +80,4 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
8080
te:SetLabel(e:GetLabel())
8181
te:SetLabelObject(e:GetLabelObject())
8282
end
83-
end
83+
end

0 commit comments

Comments
 (0)