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)
Duel.DiscardHand(tp,Card.IsDiscardable,1,1,REASON_COST+REASON_DISCARD)
end
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
function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
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)
return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK)
end
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:IsLocation(LOCATION_HAND+LOCATION_GRAVE) and Duel.GetMZoneCount(tp)>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)
Duel.SendtoDeck(c,nil,0,REASON_COST)
end
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
function cm.psptg(e,tp,eg,ep,ev,re,r,rp,chk)
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)
e2:SetCondition(cm.retcon)
e2:SetOperation(cm.retop)
Duel.RegisterEffect(e2,tp)
end
end
function cm.retcon(e,tp,eg,ep,ev,re,r,rp)
......@@ -144,4 +143,4 @@ end
function cm.retop(e,tp,eg,ep,ev,re,r,rp)
local tc=e:GetLabelObject()
Duel.SendtoDeck(tc,nil,2,REASON_EFFECT)
end
end
\ No newline at end of file
......@@ -326,7 +326,9 @@
!setname 0x37f5 L.P.
!setname 0x97f5 公主形态
!setname 0x7f6 苍空
!setname 0x17f6 PB
!setname 0x7f7 断绝之妖精
!setname 0x7f8 敢达
!counter 0x7f3 调停指示物
#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