Commit f399ff12 authored by POLYMER's avatar POLYMER

fix

parent 3eb52b10
...@@ -22,7 +22,7 @@ function c10200025.initial_effect(c) ...@@ -22,7 +22,7 @@ function c10200025.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c10200025.filter1(c) function c10200025.filter1(c)
return c:IsEffectProperty(aux.MonsterEffectPropertyFilter(EFFECT_FLAG_DICE)) and not c:IsCode(10200025) and c:IsAbleToHand() return c:IsEffectProperty(aux.EffectPropertyFilter(EFFECT_FLAG_DICE)) and not c:IsCode(10200025) and c:IsAbleToHand()
end end
function c10200025.activate1(e,tp,eg,ep,ev,re,r,rp) function c10200025.activate1(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(c10200025.filter1,tp,LOCATION_DECK,0,nil) local g=Duel.GetMatchingGroup(c10200025.filter1,tp,LOCATION_DECK,0,nil)
......
...@@ -61,7 +61,12 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -61,7 +61,12 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
e3:SetLabelObject(e2) e3:SetLabelObject(e2)
e3:SetReset(RESET_PHASE+PHASE_BATTLE) e3:SetReset(RESET_PHASE+PHASE_BATTLE)
Duel.RegisterEffect(e3,tp) Duel.RegisterEffect(e3,tp)
if Duel.GetCurrentChain()==0 then
Duel.SpecialSummonRule(tp,c,SUMMON_TYPE_SPECIAL) Duel.SpecialSummonRule(tp,c,SUMMON_TYPE_SPECIAL)
else
Duel.SpecialSummon(c,SUMMON_TYPE_SPECIAL,tp,tp,true,true,POS_FACEUP)
c:CompleteProcedure()
end
end end
function cm.hspcon(e,c) function cm.hspcon(e,c)
if c==nil then return true end if c==nil then return true end
......
...@@ -3,7 +3,7 @@ local m=22348372 ...@@ -3,7 +3,7 @@ local m=22348372
local cm=_G["c"..m] local cm=_G["c"..m]
function cm.initial_effect(c) function cm.initial_effect(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetCategory(EVENT_TOSS_DICE+CATEGORY_DRAW) e1:SetCategory(CATEGORY_DICE+CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN) e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_DRAW_PHASE+TIMING_END_PHASE,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE) e1:SetHintTiming(0,TIMING_DRAW_PHASE+TIMING_END_PHASE,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
......
...@@ -24,6 +24,7 @@ end ...@@ -24,6 +24,7 @@ end
function cm.sumtg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.sumtg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
if chk==0 then return not c:IsPublic() end if chk==0 then return not c:IsPublic() end
Duel.SetOperationInfo(0,CATEGORY_DICE,nil,0,tp,1)
end end
function cm.sumop(e,tp,eg,ep,ev,re,r,rp) function cm.sumop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
......
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