Commit 57ce4b7d authored by mercury233's avatar mercury233

fix

parent 4b0c51d8
...@@ -40,9 +40,9 @@ end ...@@ -40,9 +40,9 @@ end
function c100341001.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c100341001.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c100341001.filter(chkc) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c100341001.filter(chkc) end
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_SZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_SZONE)>0
and Duel.IsExistingTarget(c100341001.filter,tp,LOCATION_MZONE,0,1,nil) end and Duel.IsExistingTarget(c100341001.filter,tp,LOCATION_MZONE,0,1,e:GetHandler()) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_EQUIP) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_EQUIP)
Duel.SelectTarget(tp,c100341001.filter,tp,LOCATION_MZONE,0,1,1,nil) Duel.SelectTarget(tp,c100341001.filter,tp,LOCATION_MZONE,0,1,1,e:GetHandler())
end end
function c100341001.eqop(e,tp,eg,ep,ev,re,r,rp) function c100341001.eqop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -83,7 +83,7 @@ function c100341002.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -83,7 +83,7 @@ function c100341002.thop(e,tp,eg,ep,ev,re,r,rp)
e2:SetType(EFFECT_TYPE_FIELD) e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_EXTRA_FUSION_MATERIAL) e2:SetCode(EFFECT_EXTRA_FUSION_MATERIAL)
e2:SetTargetRange(LOCATION_GRAVE,0) e2:SetTargetRange(LOCATION_GRAVE,0)
e2:SetCountLimit(1,100341202) --e2:SetCountLimit(1,100341202)
e2:SetTarget(c100341002.mttg) e2:SetTarget(c100341002.mttg)
e2:SetValue(c100341002.fuslimit) e2:SetValue(c100341002.fuslimit)
e2:SetReset(RESET_PHASE+PHASE_END) e2:SetReset(RESET_PHASE+PHASE_END)
......
...@@ -36,7 +36,7 @@ function c101106201.spfilter(c,e,tp) ...@@ -36,7 +36,7 @@ function c101106201.spfilter(c,e,tp)
end end
function c101106201.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c101106201.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local g=Duel.GetMatchingGroup(c101106201.spfilter,tp,LOCATION_GRAVE,0,nil,e,tp) local g=Duel.GetMatchingGroup(c101106201.spfilter,tp,LOCATION_GRAVE,0,nil,e,tp)
if chk==0 then return Duel.GetMZoneCount(tp,c)>=2 and not Duel.IsPlayerAffectedByEffect(tp,59822133) if chk==0 then return Duel.GetMZoneCount(tp,e:GetHandler())>=2 and not Duel.IsPlayerAffectedByEffect(tp,59822133)
and g:GetClassCount(Card.GetCode)>=2 end and g:GetClassCount(Card.GetCode)>=2 end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g1=g:SelectSubGroup(tp,aux.dncheck,false,2,2) local g1=g:SelectSubGroup(tp,aux.dncheck,false,2,2)
......
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