Commit b78169dc authored by Chen Bill's avatar Chen Bill

fix デュアル・アブレーション

parent aaea3eb0
......@@ -59,12 +59,12 @@ function c80758812.spfilter2(c,e,tp)
return c:IsRace(RACE_WARRIOR) and c:IsAttribute(ATTRIBUTE_FIRE) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function c80758812.sptg2(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c80758812.relfilter,1,nil)
if chk==0 then return Duel.CheckReleaseGroup(REASON_EFFECT,tp,c80758812.relfilter,1,nil)
and Duel.IsExistingMatchingCard(c80758812.spfilter2,tp,LOCATION_HAND+LOCATION_DECK,0,1,nil,e,tp) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_HAND+LOCATION_DECK)
end
function c80758812.spop2(e,tp,eg,ep,ev,re,r,rp)
local rg=Duel.SelectReleaseGroup(REASON_COST,tp,c80758812.relfilter,1,1,nil,tp)
local rg=Duel.SelectReleaseGroup(REASON_EFFECT,tp,c80758812.relfilter,1,1,nil,tp)
if rg:GetCount()==0 then return end
local relchk=rg:GetFirst():IsDualState()
if Duel.Release(rg,REASON_EFFECT)==0 then return 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