Commit 59bd1100 authored by POLYMER's avatar POLYMER

fix

parent 3c81eea9
...@@ -100,6 +100,7 @@ function c28316051.regop(e,tp,eg,ep,ev,re,r,rp) ...@@ -100,6 +100,7 @@ function c28316051.regop(e,tp,eg,ep,ev,re,r,rp)
Duel.BreakEffect() Duel.BreakEffect()
end end
Duel.MoveToField(tc,p,p,LOCATION_FZONE,POS_FACEUP,true) Duel.MoveToField(tc,p,p,LOCATION_FZONE,POS_FACEUP,true)
local te=tc:GetActivateEffect()
te:UseCountLimit(p,1,true) te:UseCountLimit(p,1,true)
local tep=tc:GetControler() local tep=tc:GetControler()
local cost=te:GetCost() local cost=te:GetCost()
......
...@@ -100,7 +100,7 @@ function c28366277.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -100,7 +100,7 @@ function c28366277.spop(e,tp,eg,ep,ev,re,r,rp)
e1:SetCode(EFFECT_SET_ATTACK) e1:SetCode(EFFECT_SET_ATTACK)
e1:SetValue(atk) e1:SetValue(atk)
e1:SetReset(RESET_EVENT+RESETS_STANDARD-RESET_TOFIELD) e1:SetReset(RESET_EVENT+RESETS_STANDARD-RESET_TOFIELD)
token:RegisterEffect(e1) c:RegisterEffect(e1)
local e2=e1:Clone() local e2=e1:Clone()
e2:SetCode(EFFECT_SET_DEFENSE) e2:SetCode(EFFECT_SET_DEFENSE)
e2:SetValue(def) e2:SetValue(def)
......
...@@ -25,7 +25,7 @@ function c28372877.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -25,7 +25,7 @@ function c28372877.activate(e,tp,eg,ep,ev,re,r,rp)
local g2=Duel.GetMatchingGroup(c28372877.thfilter,tp,LOCATION_DECK,0,nil) local g2=Duel.GetMatchingGroup(c28372877.thfilter,tp,LOCATION_DECK,0,nil)
if #g1>0 and #g2>0 and Duel.SelectYesNo(tp,aux.Stringid(28372877,0)) then if #g1>0 and #g2>0 and Duel.SelectYesNo(tp,aux.Stringid(28372877,0)) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local dg=g1:Select(tp,1,1,nil) local dg=g1:Select(tp,#g1,#g1,nil)
Duel.HintSelection(dg) Duel.HintSelection(dg)
Duel.Destroy(dg,REASON_EFFECT) Duel.Destroy(dg,REASON_EFFECT)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
......
...@@ -52,7 +52,7 @@ function c28382113.sprtg(e,tp,eg,ep,ev,re,r,rp,chk,c) ...@@ -52,7 +52,7 @@ function c28382113.sprtg(e,tp,eg,ep,ev,re,r,rp,chk,c)
local mg=Duel.GetMatchingGroup(c28382113.matfilter,tp,LOCATION_MZONE,0,nil) local mg=Duel.GetMatchingGroup(c28382113.matfilter,tp,LOCATION_MZONE,0,nil)
local ct=Duel.GetFlagEffect(tp,28382113)+2 local ct=Duel.GetFlagEffect(tp,28382113)+2
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE)
local sg=mg:SelectSubGroup(tp,c28382113.selectcheck,true,ct,99,tp,c) local sg=mg:SelectSubGroup(tp,c28382113.gcheck,true,ct,99,tp,c)
if sg then if sg then
sg:KeepAlive() sg:KeepAlive()
e:SetLabelObject(sg) e:SetLabelObject(sg)
......
...@@ -33,10 +33,10 @@ function c28384553.initial_effect(c) ...@@ -33,10 +33,10 @@ function c28384553.initial_effect(c)
c:RegisterEffect(ce1) c:RegisterEffect(ce1)
end end
function c28384553.mfilter(c) function c28384553.mfilter(c)
return c:IsFusionType(TYPE_FUSION) and c:IsRace(RACE_FIEND) return c:IsFusionType(TYPE_FUSION) and c:IsRace(RACE_FAIRY)
end end
function c28384553.matfilter(c) function c28384553.matfilter(c)
return c:IsAbleToExtraAsCost() and c:IsRace(RACE_FIEND) and c:IsCanBeFusionMaterial() return c:IsAbleToExtraAsCost() and c:IsRace(RACE_FAIRY) and c:IsCanBeFusionMaterial()
end end
function c28384553.gcheck(mg,tp,fc) function c28384553.gcheck(mg,tp,fc)
return Duel.GetLocationCountFromEx(tp,tp,mg,fc)>0 return Duel.GetLocationCountFromEx(tp,tp,mg,fc)>0
......
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