Commit 54108fec authored by nanahira's avatar nanahira
parents ccc80cfe d9649b27
...@@ -44,13 +44,14 @@ end ...@@ -44,13 +44,14 @@ end
function cm.spop(e,tp,eg,ep,ev,re,r,rp) function cm.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if not c:IsRelateToEffect(e) then return end if not c:IsRelateToEffect(e) then return end
if Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 then if Duel.SpecialSummonStep(c,0,tp,tp,false,false,POS_FACEUP) then
local tc=eg:GetFirst() local tc=eg:GetFirst()
if tc and tc:IsType(TYPE_EFFECT) then if tc and tc:IsType(TYPE_EFFECT) then
c:CreateEffectRelation(e) c:CreateEffectRelation(e)
Senya.CopyStatusAndEffect(e,c,tc,false,0x1fe1000,1,2) Senya.CopyStatusAndEffect(e,c,tc,false,0x1fe1000,1,2)
c:ReleaseEffectRelation(e) c:ReleaseEffectRelation(e)
end end
Duel.SpecialSummonComplete()
Duel.Hint(11,0,m*16+2) Duel.Hint(11,0,m*16+2)
end end
end end
...@@ -77,4 +78,4 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -77,4 +78,4 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmCards(tp,Group.FromCards(c)) Duel.ConfirmCards(tp,Group.FromCards(c))
Duel.ConfirmCards(1-tp,Group.FromCards(c)) Duel.ConfirmCards(1-tp,Group.FromCards(c))
Duel.SpecialSummon(c,0,tp,tp,true,true,POS_FACEUP) Duel.SpecialSummon(c,0,tp,tp,true,true,POS_FACEUP)
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