--时穿剑·黎影剑 local m=14000010 local cm=_G["c"..m] cm.named_with_Chronoblade=1 xpcall(function() require("expansions/script/c14000001") end,function() require("script/c14000001") end) function cm.initial_effect(c) --chrbeffects chrb.dire(c) chrb.ChronoDamageEffect(c,CATEGORY_SPECIAL_SUMMON,nil,nil,nil,cm.sptg,cm.spop) end function cm.spfilter(c,e,tp) return chrb.CHRB(c) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and not c:IsCode(m) end function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk) if chk==0 then return true end Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_DECK) end function cm.spop(e,tp,eg,ep,ev,re,r,rp) chrb.move(e,tp,eg,ep,ev,re,r,rp) if not Duel.IsExistingMatchingCard(cm.spfilter,tp,LOCATION_DECK,0,1,nil,e,tp) then return end Duel.BreakEffect() Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) local g=Duel.SelectMatchingCard(tp,cm.spfilter,tp,LOCATION_DECK,0,1,1,nil,e,tp) if #g>0 then Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP) end end