Commit b71d1304 authored by zengsxing's avatar zengsxing Committed by mercury233

fix スフィンクス・アンドロジュネス (#2118)

parent 3b1c3265
...@@ -41,12 +41,13 @@ function c87997872.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -41,12 +41,13 @@ function c87997872.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.PayLPCost(tp,500) Duel.PayLPCost(tp,500)
end end
function c87997872.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c87997872.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,true,false) end and c:IsCanBeSpecialSummoned(e,0,tp,true,false) end
if e:GetHandler():IsLocation(LOCATION_DECK) then if c:IsLocation(LOCATION_DECK) then
Duel.ConfirmCards(1-tp,e:GetHandler()) Duel.ConfirmCards(1-tp,c)
end end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,c,1,tp,c:GetLocation())
end end
function c87997872.spop(e,tp,eg,ep,ev,re,r,rp) function c87997872.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
......
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