Commit c969d649 authored by TanakaKotoha's avatar TanakaKotoha

mopemope

parent fe039100
Pipeline #810 passed with stages
in 45 minutes and 13 seconds
......@@ -33,7 +33,7 @@ function c33310309.initial_effect(c)
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(m,2))
e2:SetCategory(CATEGORY_RECOVER)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F)
e2:SetType(EFFECT_TYPE_TRIGGER_F+EFFECT_TYPE_FIELD)
e2:SetRange(LOCATION_MZONE)
e2:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
e2:SetCode(EVENT_SPSUMMON_SUCCESS)
......@@ -114,11 +114,10 @@ function cm.disop(e,tp,eg,ep,ev,re,r,rp)
end
--recorve
function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(function(c) return c:GetSummonPlayer()==1-tp end,1,nil) and not e:GetHandler():IsStatus(STATUS_CHAINING)
return rp~=tp--eg:IsExists(function(c) return c:GetSummonPlayer()==1-tp end,1,nil) and not e:GetHandler():IsStatus(STATUS_CHAINING)
end
function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetMZoneCount(tp)>0
and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_RECOVER,e:GetHandler(),1,0,0)
end
function cm.spop(e,tp,eg,ep,ev,re,r,rp)
......
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