Commit 83753eba authored by 聖園ミカ's avatar 聖園ミカ 🐟

hop

parent 2fb2e058
No preview for this file type
......@@ -54,7 +54,7 @@ function s.tgtg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
local rc=re:GetHandler()
local b1=rc:IsAbleToGrave() and not rc:IsLocation(LOCATION_GRAVE)
local b2=(Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and rc:IsCanBeSpecialSummoned(e,0,tp,false,false))
local b2=(Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and rc:IsCanBeSpecialSummoned(e,0,tp,false,false)) and rc:IsRelateToEffect(e)
if chk==0 then return b1 or b2 end
if re:GetHandler():IsAttribute(ATTRIBUTE_DARK) then
Duel.RegisterFlagEffect(tp,id,RESET_PHASE+PHASE_END,EFFECT_FLAG_OATH,1)
......
......@@ -141,7 +141,7 @@ function cm.spop2(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(tp,cm.spfilter2,tp,LOCATION_EXTRA,0,1,1,nil,e,tp)
local tc=g:GetFirst()
if tc and Duel.IsExistingMatchingCard(cm.thfilter2,tp,LOCATION_ONFIELD+LOCATION_GRAVE+LOCATION_REMOVED,0,1,nil) then
if tc and Duel.IsExistingMatchingCard(cm.thfilter2,tp,LOCATION_ONFIELD+LOCATION_GRAVE+LOCATION_REMOVED,0,6,nil) then
if tc:IsType(TYPE_SYNCHRO) then
Duel.SpecialSummon(tc,SUMMON_TYPE_SYNCHRO,tp,tp,true,true,POS_FACEUP)
tc:CompleteProcedure()
......
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