Commit cae9248a authored by salix5's avatar salix5

fix

parent a78da159
......@@ -59,9 +59,7 @@ end
function c87602890.operation(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc and tc:IsRelateToEffect(e) then
local att=0
if tc:IsFaceup() then att=tc:GetAttribute() end
if Duel.Destroy(tc,REASON_EFFECT)==0 or bit.band(att,ATTRIBUTE_LIGHT)==0 then return end
if Duel.Destroy(tc,REASON_EFFECT)==0 or bit.band(tc:GetPreviousAttributeOnField(),ATTRIBUTE_LIGHT)==0 then return end
local lv=tc:GetOriginalLevel()
if tc:IsType(TYPE_XYZ) then
lv=tc:GetOriginalRank()
......
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