Commit 97c9ec04 authored by POLYMER's avatar POLYMER

fix

parent eaaf37d8
...@@ -61,6 +61,7 @@ function cm.adcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -61,6 +61,7 @@ function cm.adcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_OPERATECARD) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_OPERATECARD)
local sc=g:Select(tp,1,1,nil):GetFirst() local sc=g:Select(tp,1,1,nil):GetFirst()
sc:RegisterFlagEffect(m,RESET_EVENT+RESETS_STANDARD,0,1) sc:RegisterFlagEffect(m,RESET_EVENT+RESETS_STANDARD,0,1)
sc:ResetFlagEffect(9822220)
local eset={sc:IsHasEffect(EFFECT_PUBLIC)} local eset={sc:IsHasEffect(EFFECT_PUBLIC)}
if #eset>0 then if #eset>0 then
for _,ae in pairs(eset) do for _,ae in pairs(eset) do
......
...@@ -69,6 +69,7 @@ function cm.adop(e,tp,eg,ep,ev,re,r,rp) ...@@ -69,6 +69,7 @@ function cm.adop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_OPERATECARD) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_OPERATECARD)
local sc=pg:Select(tp,1,1,nil):GetFirst() local sc=pg:Select(tp,1,1,nil):GetFirst()
sc:RegisterFlagEffect(11451544,RESET_EVENT+RESETS_STANDARD,0,1) sc:RegisterFlagEffect(11451544,RESET_EVENT+RESETS_STANDARD,0,1)
sc:ResetFlagEffect(9822220)
local eset={sc:IsHasEffect(EFFECT_PUBLIC)} local eset={sc:IsHasEffect(EFFECT_PUBLIC)}
if #eset>0 then if #eset>0 then
for _,ae in pairs(eset) do for _,ae in pairs(eset) do
......
...@@ -34,10 +34,10 @@ function s.initial_effect(c) ...@@ -34,10 +34,10 @@ function s.initial_effect(c)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
s.toss_coin=true s.toss_coin=true
function s.mfilter1(c,fc) function s.matfilter1(c,fc)
return c:IsFusionCode(87751584) and c:IsSummonType(SUMMON_TYPE_FUSION) and c:IsLocation(LOCATION_MZONE) return c:IsFusionCode(87751584) and c:IsSummonType(SUMMON_TYPE_FUSION) and c:IsLocation(LOCATION_MZONE)
end end
function s.mfilter2(c,fc) function s.matfilter2(c,fc)
return c:IsFusionAttribute(ATTRIBUTE_DARK) and c:IsRace(RACE_MACHINE) return c:IsFusionAttribute(ATTRIBUTE_DARK) and c:IsRace(RACE_MACHINE)
end end
function s.destg(e,tp,eg,ep,ev,re,r,rp,chk) function s.destg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -14,12 +14,12 @@ function s.spfilter(c,e,tp,g) ...@@ -14,12 +14,12 @@ function s.spfilter(c,e,tp,g)
return c:IsType(TYPE_FUSION) and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_FUSION,tp,false,false) and c:CheckFusionMaterial() and g:CheckSubGroup(s.gcheck,min,math.min(max,#g),tp,e:GetHandler(),c) return c:IsType(TYPE_FUSION) and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_FUSION,tp,false,false) and c:CheckFusionMaterial() and g:CheckSubGroup(s.gcheck,min,math.min(max,#g),tp,e:GetHandler(),c)
end end
function s.gcheck(g,tp,ec,sc) function s.gcheck(g,tp,ec,sc)
return Duel.GetLocationCountFromEx(tp,tp,g+ec,sc)>0 return g:IsContains(ec) and Duel.GetLocationCountFromEx(tp,tp,g,sc)>0
end end
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
local g=Duel.GetReleaseGroup(tp,true,REASON_EFFECT) local g=Duel.GetReleaseGroup(tp,true,REASON_EFFECT)
if chk==0 then return c:IsReleasableByEffect() and Duel.IsExistingMatchingCard(s.spfilter,tp,LOCATION_EXTRA,0,1,nil,e,tp,g) end if chk==0 then return Duel.IsExistingMatchingCard(s.spfilter,tp,LOCATION_EXTRA,0,1,nil,e,tp,g) end
Duel.SetOperationInfo(0,CATEGORY_RELEASE,g,2,0,0) Duel.SetOperationInfo(0,CATEGORY_RELEASE,g,2,0,0)
end end
function s.spop(e,tp,eg,ep,ev,re,r,rp) function s.spop(e,tp,eg,ep,ev,re,r,rp)
...@@ -31,7 +31,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -31,7 +31,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
if not tc then return end if not tc then return end
local min,max=aux.GetMaterialListCount(tc) local min,max=aux.GetMaterialListCount(tc)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE)
local sg=g:SelectSubGroup(tp,s.gcheck,false,min,math.min(max,#g),tp,c,tc)+c local sg=g:SelectSubGroup(tp,s.gcheck,false,min,math.min(max,#g),tp,c,tc)
if Duel.Release(sg,REASON_EFFECT)>0 then if Duel.Release(sg,REASON_EFFECT)>0 then
Duel.SpecialSummonStep(tc,SUMMON_TYPE_FUSION,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummonStep(tc,SUMMON_TYPE_FUSION,tp,tp,false,false,POS_FACEUP)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
......
...@@ -432,11 +432,11 @@ ...@@ -432,11 +432,11 @@
!setname 0xfc1 人魂 !setname 0xfc1 人魂
#カテゴリ #カテゴリ
!setname 0x2045 悪魔(デーモン) 惡魔 !setname 0x2045 惡魔(デーモン)
!setname 0x941 ヘルテイカー 地狱掠夺者 !setname 0x941 地狱掠夺者(ヘルテイカー)
!setname 0x942 Hell 地獄 !setname 0x942 地獄(Hell
!setname 0x943 ブレイド 异刃 !setname 0x943 异刃(ブレイド)
!setname 0x944 ドライバー 御刃者 !setname 0x944 御刃者(ドライバー)
#01 822 0x290-0x29f #01 822 0x290-0x29f
!setname 0x290 科兹莫 !setname 0x290 科兹莫
......
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