Skip to content

Commit 45b0910

Browse files
authored
Update c35803249.lua
1 parent 27a0b8d commit 45b0910

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

official/c35803249.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,12 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
9494
end
9595
function s.destg(e,tp,eg,ep,ev,re,r,rp,chk)
9696
if chk==0 then return Duel.IsExistingMatchingCard(aux.FaceupFilter(Card.IsTrap),tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil) end
97-
local sg=Duel.GetMatchingGroup(s.filter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil)
97+
local sg=Duel.GetMatchingGroup(aux.FaceupFilter(Card.IsTrap),tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil)
9898
Duel.SetOperationInfo(0,CATEGORY_DESTROY,sg,#sg,0,0)
9999
Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,1-tp,#sg*300)
100100
end
101101
function s.desop(e,tp,eg,ep,ev,re,r,rp)
102-
local sg=Duel.GetMatchingGroup(s.filter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil)
102+
local sg=Duel.GetMatchingGroup(aux.FaceupFilter(Card.IsTrap),tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil)
103103
local ct=Duel.Destroy(sg,REASON_EFFECT)
104104
Duel.Damage(1-tp,ct*300,REASON_EFFECT)
105105
end

0 commit comments

Comments
 (0)