Commit 45b98265 authored by VanillaSalt's avatar VanillaSalt

fix

parent c0e0e1dd
...@@ -16,11 +16,11 @@ function c52085072.initial_effect(c) ...@@ -16,11 +16,11 @@ function c52085072.initial_effect(c)
e2:SetCondition(c52085072.spcon) e2:SetCondition(c52085072.spcon)
e2:SetOperation(c52085072.spop) e2:SetOperation(c52085072.spop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
--cannot attack announce --cannot attack
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_FIELD) e3:SetType(EFFECT_TYPE_FIELD)
e3:SetRange(LOCATION_MZONE) e3:SetRange(LOCATION_MZONE)
e3:SetCode(EFFECT_CANNOT_ATTACK_ANNOUNCE) e3:SetCode(EFFECT_CANNOT_ATTACK)
e3:SetTargetRange(LOCATION_MZONE,0) e3:SetTargetRange(LOCATION_MZONE,0)
e3:SetTarget(c52085072.antarget) e3:SetTarget(c52085072.antarget)
c:RegisterEffect(e3) c:RegisterEffect(e3)
...@@ -37,7 +37,7 @@ function c52085072.initial_effect(c) ...@@ -37,7 +37,7 @@ function c52085072.initial_effect(c)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
function c52085072.spcfilter(c) function c52085072.spcfilter(c)
return c:IsFaceup() and c:GetLevel()==1 and c:IsType(TYPE_MONSTER) and c:IsAbleToGraveAsCost() return c:IsFaceup() and c:GetLevel()==1 and c:IsAbleToGraveAsCost()
end end
function c52085072.spcon(e,c) function c52085072.spcon(e,c)
if c==nil then return true end if c==nil then return true 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