Commit 9d405996 authored by wyykak's avatar wyykak

Merge branch 'patch-3' into 'master'

Update c60305.lua 2效果

See merge request hiiragiguardians/ygopro-thc-cards!8
parents 8afc9964 7d7cb34a
......@@ -53,7 +53,7 @@ function c60305.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function c60305.exfilter(c)
return c:GetSummonLocation()==LOCATION_EXTRA
return c:GetSummonLocation()==LOCATION_EXTRA and c:IsFaceup()
end
function c60305.drcost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
......@@ -62,9 +62,9 @@ function c60305.drcost(e,tp,eg,ep,ev,re,r,rp,chk)
end
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 chk==0 then return Duel.IsExistingMatchingCard(c60305.exfilter,tp,0,LOCATION_ONFIELD,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local g=Duel.SelectTarget(tp,c60305.exfilter,tp,0,LOCATION_ONFIELD,1,1,nil)
if chk==0 then return Duel.IsExistingTarget(c60305.exfilter,tp,0,LOCATION_MZONE,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
local g=Duel.SelectTarget(tp,c60305.exfilter,tp,0,LOCATION_MZONE,1,1,nil)
end
function c60305.drop(e,tp,eg,ep,ev,re,r,rp)
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