Commit 56978be7 authored by GuGu's avatar GuGu

Update c4114224.lua 修复效果覆盖逻辑

parent 0d7e4caa
Pipeline #21037 passed with stage
in 1 minute and 10 seconds
......@@ -33,11 +33,11 @@ function c4114224.initial_effect(c)
ex1:SetOperation(c4114224.costop)
local ex2=Effect.CreateEffect(c)
ex2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_GRANT)
ex2:SetTargetRange(LOCATION_GRAVE,0)
ex2:SetCondition(c4114224.excon)
ex2:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE)
ex2:SetTargetRange(LOCATION_GRAVE,LOCATION_GRAVE)
ex2:SetTarget(c4114224.extg)
ex2:SetLabelObject(ex1)
Duel.RegisterEffect(ex2,tp)
Duel.RegisterEffect(ex2,0)
end
end
function c4114224.filter1(c)
......@@ -75,9 +75,6 @@ function c4114224.costop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoGrave(g1,REASON_COST)
Duel.MoveToField(e:GetHandler(),tp,tp,LOCATION_SZONE,POS_FACEUP,false)
end
function c4114224.excon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsPlayerAffectedByEffect(tp,4114224)
end
function c4114224.extg(e,c)
return c:IsSetCard(0x6141) and c:IsType(TYPE_SPELL+TYPE_TRAP) and c:GetActivateEffect()
end
\ No newline at end of file
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