Commit d0bc29ab authored by GuGu's avatar GuGu

Update c29501.lua

parent 10fc9ff3
Pipeline #41800 passed with stage
in 1 minute and 32 seconds
......@@ -28,7 +28,6 @@ function c29501.initial_effect(c)
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_FIELD)
e3:SetCode(EFFECT_INDESTRUCTABLE_COUNT)
e3:SetCountLimit(1)
e3:SetRange(LOCATION_MZONE)
e3:SetTargetRange(LOCATION_MZONE,0)
e3:SetTarget(c29501.efilter)
......@@ -83,5 +82,7 @@ function c29501.efilter(e,c)
return c:IsSetCard(0x432) or e:GetHandler():GetLinkedGroup():IsContains(c)
end
function c29501.valcon(e,re,r,rp)
return bit.band(r,REASON_BATTLE)~=0
if bit.band(r,REASON_BATTLE)~=0 then
return 1
else return 0 end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment