Commit 1aa74192 authored by TanakaKotoha's avatar TanakaKotoha

homo

parent 82a08253
No preview for this file type
...@@ -31,7 +31,7 @@ function cm.spcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -31,7 +31,7 @@ function cm.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.DiscardHand(tp,Card.IsDiscardable,1,1,REASON_COST+REASON_DISCARD) Duel.DiscardHand(tp,Card.IsDiscardable,1,1,REASON_COST+REASON_DISCARD)
end end
function cm.spfilter(c,e,tp) function cm.spfilter(c,e,tp)
return c:IsSetCard(0x5da) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsSetCard(0x17f6) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.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
......
...@@ -30,7 +30,7 @@ function cm.spcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -30,7 +30,7 @@ function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK) return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK)
end end
function cm.filter(c,e,tp) function cm.filter(c,e,tp)
return c:IsSetCard(0x5da) and c:IsType(TYPE_PENDULUM) and (c:IsLocation(LOCATION_HAND+LOCATION_GRAVE) or c:IsFaceup()) return c:IsSetCard(0x17f6) and c:IsType(TYPE_PENDULUM) and (c:IsLocation(LOCATION_HAND+LOCATION_GRAVE) or c:IsFaceup())
and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
and (c:IsLocation(LOCATION_HAND+LOCATION_GRAVE) and Duel.GetMZoneCount(tp)>0 and (c:IsLocation(LOCATION_HAND+LOCATION_GRAVE) and Duel.GetMZoneCount(tp)>0
or c:IsLocation(LOCATION_EXTRA) and Duel.GetLocationCountFromEx(tp,tp,nil,c)>0) or c:IsLocation(LOCATION_EXTRA) and Duel.GetLocationCountFromEx(tp,tp,nil,c)>0)
......
...@@ -62,7 +62,7 @@ function cm.pspcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -62,7 +62,7 @@ function cm.pspcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SendtoDeck(c,nil,0,REASON_COST) Duel.SendtoDeck(c,nil,0,REASON_COST)
end end
function cm.pspfilter(c,e,tp) function cm.pspfilter(c,e,tp)
return c:IsSetCard(0x5de) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsSetCard(0x37f6) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function cm.psptg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.psptg(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
...@@ -131,7 +131,6 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -131,7 +131,6 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
e2:SetCondition(cm.retcon) e2:SetCondition(cm.retcon)
e2:SetOperation(cm.retop) e2:SetOperation(cm.retop)
Duel.RegisterEffect(e2,tp) Duel.RegisterEffect(e2,tp)
end end
end end
function cm.retcon(e,tp,eg,ep,ev,re,r,rp) function cm.retcon(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -326,7 +326,9 @@ ...@@ -326,7 +326,9 @@
!setname 0x37f5 L.P. !setname 0x37f5 L.P.
!setname 0x97f5 公主形态 !setname 0x97f5 公主形态
!setname 0x7f6 苍空 !setname 0x7f6 苍空
!setname 0x17f6 PB
!setname 0x7f7 断绝之妖精 !setname 0x7f7 断绝之妖精
!setname 0x7f8 敢达
!counter 0x7f3 调停指示物 !counter 0x7f3 调停指示物
#AddCodeList(47500000) 姬塔卡名记述 #AddCodeList(47500000) 姬塔卡名记述
......
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