Commit dce35b0e authored by POLYMER's avatar POLYMER

fix

parent 6ce8c52c
...@@ -56,7 +56,7 @@ function c11771285.op2(e,tp,eg,ep,ev,re,r,rp) ...@@ -56,7 +56,7 @@ function c11771285.op2(e,tp,eg,ep,ev,re,r,rp)
local ch=Duel.GetCurrentChain() local ch=Duel.GetCurrentChain()
if ch>1 then if ch>1 then
local p,code,te=Duel.GetChainInfo(ch-1,CHAININFO_TRIGGERING_PLAYER,CHAININFO_TRIGGERING_CODE,CHAININFO_TRIGGERING_EFFECT) local p,code,te=Duel.GetChainInfo(ch-1,CHAININFO_TRIGGERING_PLAYER,CHAININFO_TRIGGERING_CODE,CHAININFO_TRIGGERING_EFFECT)
if te and te:IsActiveType(TYPE_MONSTER) then if te and te:IsActiveType(TYPE_MONSTER) and p==1-tp then
Duel.NegateEffect(te) Duel.NegateEffect(te)
end end
end end
......
...@@ -43,7 +43,7 @@ function c11771295.filter00(c) ...@@ -43,7 +43,7 @@ function c11771295.filter00(c)
end end
-- 1 -- 1
function c11771295.chainop(e,tp,eg,ep,ev,re,r,rp) function c11771295.chainop(e,tp,eg,ep,ev,re,r,rp)
if re:GetHandler():IsSetCard(0x7) then if re:GetHandler():IsEffectProperty(aux.EffectPropertyFilter(EFFECT_FLAG_DICE)) then
Duel.SetChainLimit(c11771295.chainlm) Duel.SetChainLimit(c11771295.chainlm)
end end
end end
......
...@@ -44,7 +44,7 @@ function c11771300.op1(e,tp,eg,ep,ev,re,r,rp) ...@@ -44,7 +44,7 @@ function c11771300.op1(e,tp,eg,ep,ev,re,r,rp)
local ft=Duel.GetLocationCountFromEx(tp) local ft=Duel.GetLocationCountFromEx(tp)
if ft<=0 then return end if ft<=0 then return end
if d==1 then if d==1 then
mg1=Duel.GetMatchingGroup(c11771300.exmatfilter,tp,LOCATION_MZONE+LOCATION_GRAVE,0,nil,e) local mg1=Duel.GetMatchingGroup(c11771300.exmatfilter,tp,LOCATION_MZONE+LOCATION_GRAVE,0,nil,e)
local ce=Duel.GetChainMaterial(tp) local ce=Duel.GetChainMaterial(tp)
local sg1=Duel.GetMatchingGroup(c11771300.fusfilter,tp,LOCATION_EXTRA,0,nil,e,tp,mg1,nil,chkf) local sg1=Duel.GetMatchingGroup(c11771300.fusfilter,tp,LOCATION_EXTRA,0,nil,e,tp,mg1,nil,chkf)
local sg2=nil local sg2=nil
...@@ -76,7 +76,7 @@ function c11771300.op1(e,tp,eg,ep,ev,re,r,rp) ...@@ -76,7 +76,7 @@ function c11771300.op1(e,tp,eg,ep,ev,re,r,rp)
return return
end end
elseif d>=2 and d<=5 then elseif d>=2 and d<=5 then
mg1=Duel.GetFusionMaterial(tp):Filter(c11771300.hmmatfilter,nil,e) local mg1=Duel.GetFusionMaterial(tp):Filter(c11771300.hmmatfilter,nil,e)
local ce=Duel.GetChainMaterial(tp) local ce=Duel.GetChainMaterial(tp)
local sg1=Duel.GetMatchingGroup(c11771300.fusfilter,tp,LOCATION_EXTRA,0,nil,e,tp,mg1,nil,chkf) local sg1=Duel.GetMatchingGroup(c11771300.fusfilter,tp,LOCATION_EXTRA,0,nil,e,tp,mg1,nil,chkf)
local sg2=nil local sg2=nil
...@@ -109,7 +109,7 @@ function c11771300.op1(e,tp,eg,ep,ev,re,r,rp) ...@@ -109,7 +109,7 @@ function c11771300.op1(e,tp,eg,ep,ev,re,r,rp)
end end
elseif d==6 then elseif d==6 then
if Duel.GetFieldGroupCount(tp,LOCATION_DECK,0)==0 then return end if Duel.GetFieldGroupCount(tp,LOCATION_DECK,0)==0 then return end
mg1=Duel.GetMatchingGroup(c11771300.matfilter,tp,LOCATION_DECK,0,nil) local mg1=Duel.GetMatchingGroup(c11771300.matfilter,tp,LOCATION_DECK,0,nil)
local ce=Duel.GetChainMaterial(tp) local ce=Duel.GetChainMaterial(tp)
local sg1=Duel.GetMatchingGroup(c11771300.fusfilter,tp,LOCATION_EXTRA,0,nil,e,tp,mg1,nil,chkf) local sg1=Duel.GetMatchingGroup(c11771300.fusfilter,tp,LOCATION_EXTRA,0,nil,e,tp,mg1,nil,chkf)
local sg2=nil local sg2=nil
......
...@@ -86,6 +86,7 @@ function cm.tgtg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -86,6 +86,7 @@ function cm.tgtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_DECK+LOCATION_GRAVE) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_DECK+LOCATION_GRAVE)
end end
function cm.tgop(e,tp,eg,ep,ev,re,r,rp) function cm.tgop(e,tp,eg,ep,ev,re,r,rp)
local num=Duel.GetMatchingGroupCount(Card.IsType,tp,LOCATION_GRAVE,0,nil,TYPE_EQUIP)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(tp,cm.filter,tp,LOCATION_DECK+LOCATION_GRAVE,0,1,1,nil,e,tp,num-1) local g=Duel.SelectMatchingCard(tp,cm.filter,tp,LOCATION_DECK+LOCATION_GRAVE,0,1,1,nil,e,tp,num-1)
......
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