Commit 3c0b4f5a authored by Huangnan's avatar Huangnan

Update c10970014.lua

parent 2fbfb816
......@@ -83,7 +83,7 @@ function c10970014.cfilter(c,tp)
return c:IsControler(1-tp) and c:IsPreviousLocation(LOCATION_DECK)
end
function c10970014.drcon1(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c10970014.cfilter,1,nil,tp) and Duel.GetFieldGroupCount(tp,0,LOCATION_HAND)>Duel.GetFieldGroupCount(tp,LOCATION_HAND,0) and Duel.IsExistingMatchingCard(c10970014.confilter,tp,LOCATION_MZONE,0,1,nil) and not Duel.IsChainSolving()
return eg:IsExists(c10970014.cfilter,1,nil,tp) and Duel.GetFieldGroupCount(tp,0,LOCATION_HAND)>Duel.GetFieldGroupCount(tp,LOCATION_HAND,0) and not Duel.IsChainSolving()
end
function c10970014.drop1(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_CARD,0,10970014)
......@@ -96,7 +96,7 @@ function c10970014.regop(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterFlagEffect(tp,10970014,RESET_CHAIN,0,1)
end
function c10970014.drcon2(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetFlagEffect(tp,10970014)>0 and Duel.IsExistingMatchingCard(c10970014.confilter,tp,LOCATION_MZONE,0,1,nil)
return Duel.GetFlagEffect(tp,10970014)>0
end
function c10970014.drop2(e,tp,eg,ep,ev,re,r,rp)
local ct=Duel.GetFlagEffect(tp,10970014)
......@@ -105,20 +105,20 @@ function c10970014.drop2(e,tp,eg,ep,ev,re,r,rp)
Duel.Draw(tp,ct,REASON_EFFECT)
end
function c10970014.condition0(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsPlayerAffectedByEffect(tp,10970008) and eg:IsExists(c10970014.cfilter,1,nil,tp) and Duel.GetFieldGroupCount(tp,0,LOCATION_HAND)>Duel.GetFieldGroupCount(tp,LOCATION_HAND,0) and Duel.IsExistingMatchingCard(c10970014.confilter,tp,LOCATION_MZONE,0,1,nil) and not Duel.IsChainSolving()
return Duel.IsPlayerAffectedByEffect(tp,10970008) and eg:IsExists(c10970014.cfilter,1,nil,tp) and Duel.GetFieldGroupCount(tp,0,LOCATION_HAND)>Duel.GetFieldGroupCount(tp,LOCATION_HAND,0) and not Duel.IsChainSolving()
end
function c10970014.condition1(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsPlayerAffectedByEffect(tp,10970008) and eg:IsExists(c10970014.cfilter,1,nil,tp) and Duel.GetFieldGroupCount(tp,0,LOCATION_HAND)>Duel.GetFieldGroupCount(tp,LOCATION_HAND,0) and Duel.IsExistingMatchingCard(c10970014.confilter,tp,LOCATION_MZONE,0,1,nil) and Duel.IsChainSolving()
return Duel.IsPlayerAffectedByEffect(tp,10970008) and eg:IsExists(c10970014.cfilter,1,nil,tp) and Duel.GetFieldGroupCount(tp,0,LOCATION_HAND)>Duel.GetFieldGroupCount(tp,LOCATION_HAND,0) and Duel.IsChainSolving()
end
function c10970014.condition2(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsPlayerAffectedByEffect(tp,10970008) and Duel.IsExistingMatchingCard(c10970014.confilter,tp,LOCATION_MZONE,0,1,nil) and Duel.GetFlagEffect(tp,10970014)>0
return Duel.IsPlayerAffectedByEffect(tp,10970008) and Duel.GetFlagEffect(tp,10970014)>0
end
function c10970014.confilter(c)
return c:IsFaceup() and c:IsSetCard(0x1233)
end
function c10970014.chcon(e,tp,eg,ep,ev,re,r,rp)
return ep==1-tp and Duel.GetCurrentChain()>=2
and Duel.IsExistingMatchingCard(c10970014.confilter,tp,LOCATION_MZONE,0,1,nil)
and Duel.IsExistingMatchingCard(c10970014.confilter,tp,LOCATION_MZONE,0,1,nil) and Duel.IsExistingMatchingCard(c10970014.dsfilter,tp,LOCATION_DECK,0,1,nil)
end
function c10970014.dsfilter(c)
return c:IsType(TYPE_FIELD)
......
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