Commit 18e78386 authored by DailyShana's avatar DailyShana

fix

parent c297b8c0
--ウィッチクラフト・スクロール --ウィッチクラフト・スクロール
--
--Scripted By-FW空鸽
function c19673561.initial_effect(c) function c19673561.initial_effect(c)
--Activate --Activate
local e0=Effect.CreateEffect(c) local e0=Effect.CreateEffect(c)
...@@ -66,6 +64,7 @@ function c19673561.setcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -66,6 +64,7 @@ function c19673561.setcon(e,tp,eg,ep,ev,re,r,rp)
end end
function c19673561.settg(e,tp,eg,ep,ev,re,r,rp,chk) function c19673561.settg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_SZONE)>0 end if chk==0 then return Duel.GetLocationCount(tp,LOCATION_SZONE)>0 end
Duel.SetOperationInfo(0,CATEGORY_LEAVE_GRAVE,e:GetHandler(),1,0,0)
end end
function c19673561.setop(e,tp,eg,ep,ev,re,r,rp) function c19673561.setop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_SZONE)<=0 then return end if Duel.GetLocationCount(tp,LOCATION_SZONE)<=0 then return end
......
...@@ -24,7 +24,7 @@ function c79229522.splimit(e,se,sp,st) ...@@ -24,7 +24,7 @@ function c79229522.splimit(e,se,sp,st)
return e:GetHandler():GetLocation()~=LOCATION_EXTRA return e:GetHandler():GetLocation()~=LOCATION_EXTRA
end end
function c79229522.cfilter(c,fc) function c79229522.cfilter(c,fc)
return c:IsAbleToGraveAsCost() and (c:IsControler(fc:GetControler()) or c:IsFaceup()) and (c:IsCode(70095154) or c:IsLocation(LOCATION_MZONE)) return c:IsAbleToGraveAsCost() and (c:IsControler(fc:GetControler()) or c:IsFaceup()) and (c:IsCode(70095154) or c:IsLocation(LOCATION_MZONE))
end end
function c79229522.sprop(c) function c79229522.sprop(c)
return function(g) return function(g)
......
...@@ -51,6 +51,7 @@ function c83289866.setcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -51,6 +51,7 @@ function c83289866.setcon(e,tp,eg,ep,ev,re,r,rp)
end end
function c83289866.settg(e,tp,eg,ep,ev,re,r,rp,chk) function c83289866.settg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_SZONE)>0 end if chk==0 then return Duel.GetLocationCount(tp,LOCATION_SZONE)>0 end
Duel.SetOperationInfo(0,CATEGORY_LEAVE_GRAVE,e:GetHandler(),1,0,0)
end end
function c83289866.setop(e,tp,eg,ep,ev,re,r,rp) function c83289866.setop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_SZONE)<=0 then return end if Duel.GetLocationCount(tp,LOCATION_SZONE)<=0 then return end
......
--ウィッチクラフト・ピットレ --ウィッチクラフト・ピットレ
--
--Scripted By-FW空鸽
function c95245544.initial_effect(c) function c95245544.initial_effect(c)
--Special Summon --Special Summon
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
......
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