Commit 9317f65e authored by 聖園ミカ's avatar 聖園ミカ 🐟

str

parent 41137037
...@@ -46,7 +46,7 @@ function cm.hspfilter2(c,tp,sc,tc) ...@@ -46,7 +46,7 @@ function cm.hspfilter2(c,tp,sc,tc)
local g=Group.CreateGroup() local g=Group.CreateGroup()
g:AddCard(tc) g:AddCard(tc)
g:AddCard(c) g:AddCard(c)
return c:IsSetCard(0xa341) return c:IsSetCard(0xa341) and Duel.GetFlagEffect(tp,c:GetCode()+10000)==0
and c:IsControler(tp) and Duel.GetLocationCountFromEx(tp,tp,g,sc)>0 and c:IsCanBeFusionMaterial(sc,SUMMON_TYPE_SPECIAL) and c:IsControler(tp) and Duel.GetLocationCountFromEx(tp,tp,g,sc)>0 and c:IsCanBeFusionMaterial(sc,SUMMON_TYPE_SPECIAL)
end end
function cm.hspcon(e,c) function cm.hspcon(e,c)
......
...@@ -45,7 +45,7 @@ function cm.hspfilter2(c,tp,sc,tc) ...@@ -45,7 +45,7 @@ function cm.hspfilter2(c,tp,sc,tc)
local g=Group.CreateGroup() local g=Group.CreateGroup()
g:AddCard(tc) g:AddCard(tc)
g:AddCard(c) g:AddCard(c)
return c:IsSetCard(0xa341) return c:IsSetCard(0xa341) and Duel.GetFlagEffect(tp,c:GetCode()+10000)==0
and c:IsControler(tp) and Duel.GetLocationCountFromEx(tp,tp,g,sc)>0 and c:IsCanBeFusionMaterial(sc,SUMMON_TYPE_SPECIAL) and c:IsControler(tp) and Duel.GetLocationCountFromEx(tp,tp,g,sc)>0 and c:IsCanBeFusionMaterial(sc,SUMMON_TYPE_SPECIAL)
end end
function cm.hspcon(e,c) function cm.hspcon(e,c)
......
...@@ -46,7 +46,7 @@ function cm.hspfilter2(c,tp,sc,tc) ...@@ -46,7 +46,7 @@ function cm.hspfilter2(c,tp,sc,tc)
local g=Group.CreateGroup() local g=Group.CreateGroup()
g:AddCard(tc) g:AddCard(tc)
g:AddCard(c) g:AddCard(c)
return c:IsSetCard(0xa341) return c:IsSetCard(0xa341) and Duel.GetFlagEffect(tp,c:GetCode()+10000)==0
and c:IsControler(tp) and Duel.GetLocationCountFromEx(tp,tp,g,sc)>0 and c:IsCanBeFusionMaterial(sc,SUMMON_TYPE_SPECIAL) and c:IsControler(tp) and Duel.GetLocationCountFromEx(tp,tp,g,sc)>0 and c:IsCanBeFusionMaterial(sc,SUMMON_TYPE_SPECIAL)
end end
function cm.hspcon(e,c) function cm.hspcon(e,c)
......
...@@ -46,7 +46,7 @@ function cm.hspfilter2(c,tp,sc,tc) ...@@ -46,7 +46,7 @@ function cm.hspfilter2(c,tp,sc,tc)
local g=Group.CreateGroup() local g=Group.CreateGroup()
g:AddCard(tc) g:AddCard(tc)
g:AddCard(c) g:AddCard(c)
return c:IsSetCard(0xa341) return c:IsSetCard(0xa341) and Duel.GetFlagEffect(tp,c:GetCode()+10000)==0
and c:IsControler(tp) and Duel.GetLocationCountFromEx(tp,tp,g,sc)>0 and c:IsCanBeFusionMaterial(sc,SUMMON_TYPE_SPECIAL) and c:IsControler(tp) and Duel.GetLocationCountFromEx(tp,tp,g,sc)>0 and c:IsCanBeFusionMaterial(sc,SUMMON_TYPE_SPECIAL)
end end
function cm.hspcon(e,c) function cm.hspcon(e,c)
......
...@@ -32,14 +32,12 @@ function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -32,14 +32,12 @@ function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if Sre_setbackt[1]~=0 then if Sre_setbackt[1]~=0 then
res=Sre_setbackt[1] res=Sre_setbackt[1]
end end
if chk==0 then return res and res:IsControler(1-tp) and res:IsLocation(LOCATION_MZONE) and res:IsControlerCanBeChanged() end if chk==0 then return res and res:IsControler(1-tp) and res:IsLocation(LOCATION_ONFIELD) and res:IsControlerCanBeChanged() end
Duel.SetTargetCard(res) Duel.SetOperationInfo(0,CATEGORY_CONTROL,Sre_setbackt[1],1,0,0)
Duel.HintSelection(Group.FromCards(res))
Duel.SetOperationInfo(0,CATEGORY_CONTROL,e:GetLabelObject(),1,0,0)
end end
function cm.thop(e,tp,eg,ep,ev,re,r,rp) function cm.thop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local tc=Duel.GetFirstTarget() local tc=Sre_setbackt[1]
if tc:IsRelateToEffect(e) then if tc:IsRelateToEffect(e) then
if tc:IsLocation(LOCATION_MZONE) then if tc:IsLocation(LOCATION_MZONE) then
Duel.GetControl(tc,tp) Duel.GetControl(tc,tp)
...@@ -66,6 +64,4 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -66,6 +64,4 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.ChangePosition(c,POS_FACEDOWN) Duel.ChangePosition(c,POS_FACEDOWN)
Duel.RaiseEvent(c,EVENT_SSET,e,REASON_EFFECT,tp,tp,0) Duel.RaiseEvent(c,EVENT_SSET,e,REASON_EFFECT,tp,tp,0)
end end
local res=Sre_setbackt[1]
res:ReleaseEffectRelation(e)
end 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