Commit f03cf20a authored by gg123gg's avatar gg123gg Committed by GitHub

Add files via upload

parent d869638c
......@@ -66,7 +66,7 @@ function tayu_frtlk.thop(e,tp,eg,ep,ev,re,r,rp)
tc=th:GetNext()
end
end
function tayu_frtlk.summon_effect(c,mm,cate,tt,con,tg,op)
function tayu_frtlk.summon_effect(c,mm,cate,con,tg,op)
--to hand
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(mm,3))
......@@ -80,11 +80,9 @@ function tayu_frtlk.summon_effect(c,mm,cate,tt,con,tg,op)
e1:SetTarget(tg)
e1:SetOperation(op)
c:RegisterEffect(e1)
if tt then
local e2=e1:Clone()
e2:SetCode(EVENT_SPSUMMON_SUCCESS)
c:RegisterEffect(e2)
end
return e1 and e2
end
function tayu_frtlk.SpecialSummonFun(c)
......@@ -115,14 +113,6 @@ end
function tayu_frtlk.rfilter(c)
return c:IsFaceup() and c:IsReason(REASON_EFFECT) and c:GetReasonEffect():GetHandler():IsSetCard(0xafaa) and c:GetReasonEffect():GetHandler():IsType(TYPE_MONSTER)
end
function tayu_frtlk.efspcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
return ( c:IsSummonType(SUMMON_TYPE_SPECIAL) and c:GetReasonEffect(REASON_EFFECT) ) or c:IsSummonType(SUMMON_TYPE_NORMAL)
end
function tayu_frtlk.efspcon1(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
return c:IsSummonType(SUMMON_TYPE_SPECIAL)
end
if not cm then return end
function cm.initial_effect(c)
local e1=tayu_frtlk.CostCharge(c,m)
......
......@@ -63,7 +63,7 @@ function c960005.distarget(e,c)
end
function c960005.disoperation(e,tp,eg,ep,ev,re,r,rp)
local tl=Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_LOCATION)
if bit.band(tl,LOCATION_FZONE+LOCATION_GRAVE)~=0 and re:IsType(TYPE_FIELD) then
if bit.band(tl,LOCATION_FZONE+LOCATION_GRAVE)~=0 and re:IsActiveType(TYPE_FIELD) then
Duel.NegateEffect(ev)
end
end
......
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