Commit 7d7cb34a authored by GuGu's avatar GuGu

Update c60305.lua 2效果

parent 9f0a7521
...@@ -53,7 +53,7 @@ function c60305.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -53,7 +53,7 @@ function c60305.operation(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c60305.exfilter(c) function c60305.exfilter(c)
return c:GetSummonLocation()==LOCATION_EXTRA return c:GetSummonLocation()==LOCATION_EXTRA and c:IsFaceup()
end end
function c60305.drcost(e,tp,eg,ep,ev,re,r,rp,chk) function c60305.drcost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
...@@ -62,9 +62,9 @@ function c60305.drcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -62,9 +62,9 @@ function c60305.drcost(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function c60305.drtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c60305.drtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return c:IsControler(1-tp) and c60305.exfilter(chkc) end if chkc then return c:IsControler(1-tp) and c60305.exfilter(chkc) end
if chk==0 then return Duel.IsExistingMatchingCard(c60305.exfilter,tp,0,LOCATION_ONFIELD,1,nil) end if chk==0 then return Duel.IsExistingTarget(c60305.exfilter,tp,0,LOCATION_MZONE,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
local g=Duel.SelectTarget(tp,c60305.exfilter,tp,0,LOCATION_ONFIELD,1,1,nil) local g=Duel.SelectTarget(tp,c60305.exfilter,tp,0,LOCATION_MZONE,1,1,nil)
end end
function c60305.drop(e,tp,eg,ep,ev,re,r,rp) function c60305.drop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
......
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