Commit 883c76a0 authored by wind2009's avatar wind2009

Fix

parent 868e4313
Pipeline #34397 passed with stages
in 1 minute and 50 seconds
......@@ -38,8 +38,8 @@ function s.initial_effect(c)
end
function s.cfilter(c)
return c:IsFaceup() and c:GetOriginalType()&TYPE_MONSTER==TYPE_MONSTER
and (c:IsLocation(LOCATION_MZONE) and c:IsLevelAbove(5)
or c:GetOriginalLevel()>4)
and (c:IsLevelAbove(5) and c:IsLocation(LOCATION_MZONE)
or c:GetOriginalLevel()>4 and not c:IsLocation(LOCATION_MZONE))
end
function s.ntcon(e,c,minc)
if c==nil then return true end
......
......@@ -7,11 +7,12 @@ function s.initial_effect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
e1:SetCountLimit(1,id)
e1:SetTarget(s.target)
e1:SetOperation(s.activate)
c:RegisterEffect(e1)
--to grave
--set
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_PHASE+PHASE_BATTLE)
......
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