Commit 11425de9 authored by wyykak's avatar wyykak

fix 25301 infinite self chain

Signed-off-by: wyykak's avatarwyykak <wyy_1414@126.com>
parent ac3349ea
Pipeline #14611 passed with stage
in 1 minute and 52 seconds
...@@ -48,7 +48,8 @@ function c25301.spcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -48,7 +48,8 @@ function c25301.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.ShuffleHand(tp) Duel.ShuffleHand(tp)
end end
function c25301.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c25301.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and Duel.GetLocationCount(1-tp,LOCATION_MZONE)>0 if chk==0 then return not e:GetHandler():IsStatus(STATUS_CHAINING) and
Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and Duel.GetLocationCount(1-tp,LOCATION_MZONE)>0
and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
local gc=e:GetLabelObject() local gc=e:GetLabelObject()
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
......
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