Commit c1e6a9bb authored by wind2009's avatar wind2009

Fix

parent d52156e4
--恐巄竜華-㟴巴 --恐巄竜華㟴巴
local s,id,o=GetID() local s,id,o=GetID()
function s.initial_effect(c) function s.initial_effect(c)
aux.AddCodeList(c,100223037) aux.AddCodeList(c,100223037)
......
--海瀧竜華-淵巴 --海瀧竜華淵巴
local s,id,o=GetID() local s,id,o=GetID()
function s.initial_effect(c) function s.initial_effect(c)
aux.AddCodeList(c,100223038) aux.AddCodeList(c,100223038)
...@@ -84,12 +84,12 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -84,12 +84,12 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function s.spop(e,tp,eg,ep,ev,re,r,rp) function s.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) then if c:IsRelateToEffect(e) and aux.NecroValleyFilter()(c) then
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
end end
end end
function s.costfilter(c) function s.costfilter(c)
return c:IsCode(100223038) and c:IsAbleToDeckAsCost() return c:IsFaceup() and c:IsCode(100223038) and c:IsAbleToDeckAsCost()
end end
function s.drcost(e,tp,eg,ep,ev,re,r,rp,chk) function s.drcost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
......
--幻朧竜華-覇巴 --幻朧竜華覇巴
local s,id,o=GetID() local s,id,o=GetID()
function s.initial_effect(c) function s.initial_effect(c)
aux.AddCodeList(c,100223039) aux.AddCodeList(c,100223039)
...@@ -66,11 +66,11 @@ function s.cfilter2(c) ...@@ -66,11 +66,11 @@ function s.cfilter2(c)
return c:IsFaceup() and c:IsType(TYPE_MONSTER) and not c:IsCode(id) return c:IsFaceup() and c:IsType(TYPE_MONSTER) and not c:IsCode(id)
end end
function s.spcon(e,tp,eg,ep,ev,re,r,rp) function s.spcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(s.cfilter1,1,e:GetHandler()) and Duel.IsExistingMatchingCard(s.cfilter2,tp,LOCATION_REMOVED,0,2,nil) return eg:IsExists(s.cfilter1,1,e:GetHandler())
end end
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.IsExistingMatchingCard(s.cfilter2,tp,LOCATION_REMOVED,LOCATION_REMOVED,2,nil)
and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
end end
function s.spop(e,tp,eg,ep,ev,re,r,rp) function s.spop(e,tp,eg,ep,ev,re,r,rp)
...@@ -80,7 +80,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -80,7 +80,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function s.costfilter(c) function s.costfilter(c)
return c:IsCode(100223039) and c:IsAbleToDeckAsCost() return c:IsFaceup() and c:IsCode(100223039) and c:IsAbleToDeckAsCost()
end end
function s.thcost2(e,tp,eg,ep,ev,re,r,rp,chk) function s.thcost2(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
...@@ -90,7 +90,7 @@ function s.thcost2(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -90,7 +90,7 @@ function s.thcost2(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SendtoDeck(g,nil,SEQ_DECKBOTTOM,REASON_COST) Duel.SendtoDeck(g,nil,SEQ_DECKBOTTOM,REASON_COST)
end end
function s.thfilter2(c) function s.thfilter2(c)
return c:IsSetCard(0x2c1) and c:IsAbleToHand() return c:IsFaceupEx() and c:IsSetCard(0x2c1) and c:IsAbleToHand()
and not c:IsCode(id) and not c:IsCode(id)
end end
function s.thtg2(e,tp,eg,ep,ev,re,r,rp,chk) function s.thtg2(e,tp,eg,ep,ev,re,r,rp,chk)
......
--創星竜華-光巴 --創星竜華光巴
local s,id,o=GetID() local s,id,o=GetID()
function s.initial_effect(c) function s.initial_effect(c)
c:SetSPSummonOnce(id) c:SetSPSummonOnce(id)
......
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