Skip to content

Commit b18ea4b

Browse files
committed
update c2377034.lua
1 parent 2eb5244 commit b18ea4b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

official/c2377034.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ function s.thcon(e,tp,eg,ep,ev,re,r,rp)
4545
return (e:GetHandler():GetReason()&(REASON_DESTROY|REASON_EFFECT))==(REASON_DESTROY|REASON_EFFECT)
4646
end
4747
function s.filter(c)
48-
local def=c:GetDefense()
49-
return def>=0 and def<=200 and c:IsAttribute(ATTRIBUTE_FIRE) and not c:IsLinkMonster() and c:IsAbleToHand() and not c:IsCode(id)
48+
return c:IsDefenseBelow(200) and c:IsAttribute(ATTRIBUTE_FIRE) and c:IsAbleToHand() and not c:IsCode(id)
5049
end
5150
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
5251
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and s.filter(chkc) end

0 commit comments

Comments
 (0)