Commit 5ac4add9 authored by mercury233's avatar mercury233 Committed by GitHub

fix

parent 0ac38853
...@@ -21,10 +21,9 @@ function c85909450.initial_effect(c) ...@@ -21,10 +21,9 @@ function c85909450.initial_effect(c)
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_FIELD) e3:SetType(EFFECT_TYPE_FIELD)
e3:SetCode(EFFECT_CANNOT_BE_EFFECT_TARGET) e3:SetCode(EFFECT_CANNOT_BE_EFFECT_TARGET)
e3:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE) e3:SetProperty(EFFECT_FLAG_IGNORE_RANGE+EFFECT_FLAG_IGNORE_IMMUNE)
e3:SetRange(LOCATION_MZONE) e3:SetRange(LOCATION_MZONE)
e3:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE) e3:SetTarget(c85909450.efftg)
e3:SetTarget(aux.TargetBoolFunction(Card.IsSetCard,0x64))
e3:SetCondition(c85909450.effcon) e3:SetCondition(c85909450.effcon)
e3:SetValue(aux.tgoval) e3:SetValue(aux.tgoval)
c:RegisterEffect(e3) c:RegisterEffect(e3)
...@@ -42,6 +41,9 @@ end ...@@ -42,6 +41,9 @@ end
function c85909450.effcon(e) function c85909450.effcon(e)
return e:GetHandler():GetOverlayCount()>0 return e:GetHandler():GetOverlayCount()>0
end end
function c85909450.efftg(e,c)
return c:IsSetCard(0x64) and c:IsType(TYPE_MONSTER)
end
function c85909450.atlimit(e,c) function c85909450.atlimit(e,c)
return c:IsFaceup() and c:IsSetCard(0x64) return c:IsFaceup() and c:IsSetCard(0x64)
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