Commit 08a50bb2 authored by POLYMER's avatar POLYMER

fix

parent 02503888
--祝祷女祭司 --祝祷女祭司
if not pcall(function() require("expansions/script/c10199990") end) then require("script/c10199990") end Duel.LoadScript("c10199990.lua")
local m,cm=rscf.DefineCard(10174065) local m,cm=rscf.DefineCard(10174065)
function cm.initial_effect(c) function cm.initial_effect(c)
local e1=rsef.STO(c,EVENT_SUMMON_SUCCESS,{m,0},{1,m},"se,th","de,dsp",nil,nil,rsop.target(cm.thfilter,"th",LOCATION_DECK),cm.thop) local e1=rsef.STO(c,EVENT_SUMMON_SUCCESS,{m,0},{1,m},"se,th","de,dsp",nil,nil,rsop.target(cm.thfilter,"th",LOCATION_DECK),cm.thop)
......
This diff is collapsed.
...@@ -13,6 +13,7 @@ function c95101141.initial_effect(c) ...@@ -13,6 +13,7 @@ function c95101141.initial_effect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetCountLimit(1,95101141+EFFECT_COUNT_CODE_OATH) e1:SetCountLimit(1,95101141+EFFECT_COUNT_CODE_OATH)
e1:SetCondition(c95101141.condition)
e1:SetTarget(c95101141.target) e1:SetTarget(c95101141.target)
e1:SetOperation(c95101141.activate) e1:SetOperation(c95101141.activate)
c:RegisterEffect(e1) c:RegisterEffect(e1)
...@@ -23,6 +24,9 @@ end ...@@ -23,6 +24,9 @@ end
function c95101141.handcon(e) function c95101141.handcon(e)
return Duel.IsExistingMatchingCard(Card.IsSummonLocation,e:GetHandlerPlayer(),0,LOCATION_MZONE,1,nil,LOCATION_EXTRA) return Duel.IsExistingMatchingCard(Card.IsSummonLocation,e:GetHandlerPlayer(),0,LOCATION_MZONE,1,nil,LOCATION_EXTRA)
end end
function c95101141.thcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(Card.IsSummonPlayer,1,nil,1-tp)
end
function c95101141.thfilter(c,chk) function c95101141.thfilter(c,chk)
return c:IsSetCard(0xbbe) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand() and (chk==0 or aux.NecroValleyFilter()(c)) return c:IsSetCard(0xbbe) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand() and (chk==0 or aux.NecroValleyFilter()(c))
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