Commit 3a5c85d0 authored by Amiya's avatar Amiya

修复

parent f1dd3450
Pipeline #39375 passed with stages
in 3 minutes and 22 seconds
No preview for this file type
...@@ -36,7 +36,7 @@ function s.ntcon(e,c,minc) ...@@ -36,7 +36,7 @@ function s.ntcon(e,c,minc)
and Duel.IsExistingMatchingCard(aux.TRUE,c:GetControler(),0,LOCATION_HAND,2,nil) and Duel.IsExistingMatchingCard(aux.TRUE,c:GetControler(),0,LOCATION_HAND,2,nil)
end end
function s.spfilter(c,e,tp) function s.spfilter(c,e,tp)
return c:IsSetCard(0x1be) and not c:IsRace(RACE_MACHINE) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsSetCard(0x1cb) and not c:IsRace(RACE_MACHINE) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
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.GetLocationCount(tp,LOCATION_MZONE)>0
...@@ -61,7 +61,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -61,7 +61,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function s.cfilter(c,tp) function s.cfilter(c,tp)
return c:IsFaceup() and c:IsSetCard(0x1be) and c:IsAbleToGraveAsCost() return c:IsFaceup() and c:IsSetCard(0x1cb) and c:IsAbleToGraveAsCost()
end end
function s.cfcost(e,tp,eg,ep,ev,re,r,rp,chk) function s.cfcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(s.cfilter,tp,LOCATION_ONFIELD,0,1,nil,tp) end if chk==0 then return Duel.IsExistingMatchingCard(s.cfilter,tp,LOCATION_ONFIELD,0,1,nil,tp) end
...@@ -70,7 +70,7 @@ function s.cfcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -70,7 +70,7 @@ function s.cfcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SendtoGrave(g,REASON_COST) Duel.SendtoGrave(g,REASON_COST)
end end
function s.splimit(e,c) function s.splimit(e,c)
return not c:IsSetCard(0x1be) and c:IsLocation(LOCATION_EXTRA) return not c:IsSetCard(0x1cb) and c:IsLocation(LOCATION_EXTRA)
end end
function s.cftg(e,tp,eg,ep,ev,re,r,rp,chk) function s.cftg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(aux.NOT(Card.IsPublic),tp,0,LOCATION_HAND,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(aux.NOT(Card.IsPublic),tp,0,LOCATION_HAND,1,nil) end
......
...@@ -59,6 +59,6 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp) ...@@ -59,6 +59,6 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function s.dmcon(e,tp,eg,ep,ev,re,r,rp) function s.dmcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSetCard(0x1be) return e:GetHandler():IsSetCard(0x1cb)
and Duel.GetCustomActivityCount(id,1-e:GetHandlerPlayer(),ACTIVITY_CHAIN)>0 and Duel.GetCustomActivityCount(id,1-e:GetHandlerPlayer(),ACTIVITY_CHAIN)>0
end end
\ No newline at end of file
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