Commit f7c9f277 authored by POLYMER's avatar POLYMER

fix

parent 3446901f
...@@ -4,6 +4,7 @@ local cm=_G["c"..m] ...@@ -4,6 +4,7 @@ local cm=_G["c"..m]
function cm.initial_effect(c) function cm.initial_effect(c)
--xyz summon --xyz summon
c:EnableReviveLimit() c:EnableReviveLimit()
c:SetSPSummonOnce(m)
aux.AddXyzProcedureLevelFree(c,cm.mfilter,cm.xyzcheck,2,2,cm.ovfilter,aux.Stringid(m,0)) aux.AddXyzProcedureLevelFree(c,cm.mfilter,cm.xyzcheck,2,2,cm.ovfilter,aux.Stringid(m,0))
--change effect --change effect
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
......
...@@ -32,7 +32,7 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -32,7 +32,7 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,s.setfilter,tp,LOCATION_HAND,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,s.setfilter,tp,LOCATION_HAND,0,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
local dc=g:GetFirst() local dc=g:GetFirst()
if Duel.SSet(tp,dc,tp,false)==0 then return end if Duel.SSet(tp,dc,tp,false)==0 then return end
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetDescription(aux.Stringid(id,2)) e1:SetDescription(aux.Stringid(id,2))
...@@ -87,6 +87,6 @@ function s.reop(e,tp,eg,ep,ev,re,r,rp) ...@@ -87,6 +87,6 @@ function s.reop(e,tp,eg,ep,ev,re,r,rp)
local rc=te:GetHandler() local rc=te:GetHandler()
rc:CancelToGrave() rc:CancelToGrave()
if Duel.SendtoHand(rc,tp,REASON_EFFECT)==0 then if Duel.SendtoHand(rc,tp,REASON_EFFECT)==0 then
rc:CancelToGrave(true) rc:CancelToGrave(false)
end end
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