Commit c2dc0ad8 authored by TanakaKotoha's avatar TanakaKotoha

fbk

parent d5d9f551
...@@ -22,7 +22,7 @@ function c75646956.initial_effect(c) ...@@ -22,7 +22,7 @@ function c75646956.initial_effect(c)
e2:SetCode(EVENT_SUMMON_NEGATED) e2:SetCode(EVENT_SUMMON_NEGATED)
e2:SetProperty(EFFECT_FLAG_DELAY) e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e2:SetCountLimit(1,5646956) e2:SetCountLimit(1,5646956)
e2:SetCondition(c75646956.thcon) e2:SetCondition(c75646956.thcon)
e2:SetTarget(c75646956.thtg) e2:SetTarget(c75646956.thtg)
e2:SetOperation(c75646956.thop) e2:SetOperation(c75646956.thop)
...@@ -38,7 +38,7 @@ function c75646956.efffilter(c,e,tp,eg,ep,ev,re,r,rp) ...@@ -38,7 +38,7 @@ function c75646956.efffilter(c,e,tp,eg,ep,ev,re,r,rp)
if not m then return false end if not m then return false end
local te=m.Seele_effect local te=m.Seele_effect
if not te then return false end if not te then return false end
tg=te:GetTarget() local tg=te:GetTarget()
return not tg or tg and tg(e,tp,eg,ep,ev,re,r,rp,0) return not tg or tg and tg(e,tp,eg,ep,ev,re,r,rp,0)
end end
function c75646956.efftg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c75646956.efftg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...@@ -53,7 +53,7 @@ function c75646956.efftg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -53,7 +53,7 @@ function c75646956.efftg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local m=_G["c"..tc:GetCode()] local m=_G["c"..tc:GetCode()]
local te=m.Seele_effect local te=m.Seele_effect
if not te then return false end if not te then return false end
tg=te:GetTarget() local tg=te:GetTarget()
if tg then tg(e,tp,eg,ep,ev,re,r,rp,1) end if tg then tg(e,tp,eg,ep,ev,re,r,rp,1) end
end end
function c75646956.effop(e,tp,eg,ep,ev,re,r,rp,chk) function c75646956.effop(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -15,7 +15,7 @@ function c75646959.initial_effect(c) ...@@ -15,7 +15,7 @@ function c75646959.initial_effect(c)
--tohand --tohand
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(75646959,1)) e2:SetDescription(aux.Stringid(75646959,1))
e2:SetCategory(CATEGORY_TOHAND) e2:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_SUMMON_SUCCESS) e2:SetCode(EVENT_SUMMON_SUCCESS)
e2:SetProperty(EFFECT_FLAG_DELAY) e2:SetProperty(EFFECT_FLAG_DELAY)
...@@ -66,7 +66,7 @@ function c75646959.thtg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -66,7 +66,7 @@ function c75646959.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
local g=Duel.SelectMatchingCard(tp,c75646959.cfilter,tp,LOCATION_HAND+LOCATION_ONFIELD,0,1,1,nil,tp) local g=Duel.SelectMatchingCard(tp,c75646959.cfilter,tp,LOCATION_HAND+LOCATION_ONFIELD,0,1,1,nil,tp)
e:SetLabelObject(g:GetFirst()) e:SetLabelObject(g:GetFirst())
Duel.SendtoGrave(g,REASON_COST) Duel.SendtoGrave(g,REASON_COST)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,2,tp,LOCATION_DECK+LOCATION_GRAVE) Duel.SetOperationInfo(0,CATEGORY_TOHAND+CATEGORY_SEARCH,nil,2,tp,LOCATION_DECK+LOCATION_GRAVE)
end end
function c75646959.thop(e,tp,eg,ep,ev,re,r,rp) function c75646959.thop(e,tp,eg,ep,ev,re,r,rp)
local sc=e:GetLabelObject() local sc=e:GetLabelObject()
......
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