Commit 7213c442 authored by Chen Bill's avatar Chen Bill

fix ディメンション・マジック

parent bc9b9e01
......@@ -28,9 +28,9 @@ end
function c28553439.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and c28553439.rfilter(chkc,e,tp,ft) end
if chk==0 then return ft>-1 and Duel.CheckReleaseGroup(REASON_COST,tp,c28553439.rfilter,1,nil,e,tp,ft)
if chk==0 then return ft>-1 and Duel.CheckReleaseGroup(REASON_EFFECT,tp,c28553439.rfilter,1,nil,e,tp,ft)
and Duel.IsExistingMatchingCard(c28553439.filter,tp,LOCATION_HAND,0,1,nil,e,tp) end
local g=Duel.SelectReleaseGroup(REASON_COST,tp,c28553439.rfilter,1,1,nil,e,tp,ft)
local g=Duel.SelectReleaseGroup(REASON_EFFECT,tp,c28553439.rfilter,1,1,nil,e,tp,ft)
Duel.SetTargetCard(g)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_HAND)
end
......
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