Commit aab3658f authored by wind2009's avatar wind2009

Fix 古代の進軍

卡的发动被无效的回合,应仍能盖卡。
在盖放过卡片的回合发动②效果,应能正常适用效果
parent 8ee9b754
Pipeline #25224 passed with stages
in 1 minute and 11 seconds
......@@ -49,7 +49,7 @@ function c101204055.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetFlagEffect(tp,101204055)==0 end
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_OATH)
e1:SetCode(EFFECT_CANNOT_MSET)
e1:SetTargetRange(1,0)
e1:SetTarget(aux.TRUE)
......@@ -98,7 +98,7 @@ function c101204055.drtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function c101204055.drop(e,tp,eg,ep,ev,re,r,rp)
local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM)
if Duel.Draw(p,d,REASON_EFFECT)~=0 and Duel.GetFlagEffect(tp,101204055)==0 then
if Duel.Draw(p,d,REASON_EFFECT)~=0 and Duel.GetFlagEffect(tp,101204155)==0 then
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetDescription(aux.Stringid(101204055,2))
e1:SetType(EFFECT_TYPE_FIELD)
......@@ -109,7 +109,7 @@ function c101204055.drop(e,tp,eg,ep,ev,re,r,rp)
e1:SetTarget(c101204055.nttg)
e1:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e1,tp)
Duel.RegisterFlagEffect(tp,101204055,RESET_PHASE+PHASE_END,EFFECT_FLAG_OATH,1)
Duel.RegisterFlagEffect(tp,101204155,RESET_PHASE+PHASE_END,EFFECT_FLAG_OATH,1)
end
end
function c101204055.ntcon(e,c,minc)
......
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