Commit c3565e56 authored by TanakaKotoha's avatar TanakaKotoha

SE

parent 34b0d9e3
...@@ -125,7 +125,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -125,7 +125,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
if not c:IsRelateToEffect(e) then return end if not c:IsRelateToEffect(e) then return end
if Duel.SpecialSummon(c,0,tp,tp,true,true,POS_FACEUP)~=0 then if Duel.SpecialSummon(c,0,tp,tp,true,true,POS_FACEUP)~=0 then
c:CompleteProcedure() c:CompleteProcedure()
local lp=rscost[e] local lp=rscost.costinfo[e]
if not lp or lp<1000 or not c:IsType(TYPE_XYZ) then return end if not lp or lp<1000 or not c:IsType(TYPE_XYZ) then return end
local ct=math.floor(lp/1000) local ct=math.floor(lp/1000)
local g=Duel.GetMatchingGroup(cm.cfilter,tp,LOCATION_DECK,0,nil) local g=Duel.GetMatchingGroup(cm.cfilter,tp,LOCATION_DECK,0,nil)
......
...@@ -144,7 +144,8 @@ function c710237.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -144,7 +144,8 @@ function c710237.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) and Duel.IsPlayerCanSpecialSummonMonster(tp,710237,c710237.spfilter1,0x11,500,0,2,RACE_WARRIOR,ATTRIBUTE_EARTH) then if c:IsRelateToEffect(e) and Duel.IsPlayerCanSpecialSummonMonster(tp,710237,c710237.spfilter1,0x11,500,0,2,RACE_WARRIOR,ATTRIBUTE_EARTH) then
c:AddMonsterAttribute(TYPE_NORMAL) c:AddMonsterAttribute(TYPE_NORMAL)
Duel.SpecialSummon(c,0,tp,tp,true,false,POS_FACEUP) Duel.SpecialSummonStep(c,0,tp,tp,true,false,POS_FACEUP)
Duel.SpecialSummonComplete()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local g=Duel.SelectMatchingCard(tp,c710237.spfilter2,tp,LOCATION_HAND,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c710237.spfilter2,tp,LOCATION_HAND,0,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
......
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