Skip to content

Commit 74c2ba9

Browse files
committed
"Insect Queen" fix
Fixed a bug where it would be able to tribute itself for the attack declaration cost
1 parent 02e2b29 commit 74c2ba9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

official/c91512835.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ function s.atcost(e,c,tp)
4545
return Duel.CheckReleaseGroupCost(tp,s.atfilter,1,true,nil,e:GetHandler(),tp)
4646
end
4747
function s.atop(e,tp,eg,ep,ev,re,r,rp)
48-
if Duel.IsAttackCostPaid()~=2 and e:GetHandler():IsLocation(LOCATION_MZONE) then
48+
local c=e:GetHandler()
49+
if Duel.IsAttackCostPaid()~=2 and c:IsLocation(LOCATION_MZONE) then
4950
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE)
5051
local tc=Duel.GetReleaseGroup(tp,true,false,REASON_COST):Filter(s.atfilter,c,tp):SelectUnselect(Group.CreateGroup(),tp,Duel.IsAttackCostPaid()==0,Duel.IsAttackCostPaid()==0)
5152
if tc then

0 commit comments

Comments
 (0)