Commit d47d9f13 authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c60150616.lua

parent 802eaf86
Pipeline #32318 passed with stages
in 47 minutes and 45 seconds
...@@ -10,8 +10,8 @@ function c60150616.initial_effect(c) ...@@ -10,8 +10,8 @@ function c60150616.initial_effect(c)
e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e4:SetCode(EVENT_SPSUMMON_SUCCESS) e4:SetCode(EVENT_SPSUMMON_SUCCESS)
e4:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY) e4:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
e4:SetTarget(c60150616.tgtg) e4:SetTarget(c60150616.e4tg)
e4:SetOperation(c60150616.tgop) e4:SetOperation(c60150616.e4op)
c:RegisterEffect(e4) c:RegisterEffect(e4)
--atk --atk
local e5=Effect.CreateEffect(c) local e5=Effect.CreateEffect(c)
...@@ -40,11 +40,11 @@ function c60150616.initial_effect(c) ...@@ -40,11 +40,11 @@ function c60150616.initial_effect(c)
e1:SetCode(60150618) e1:SetCode(60150618)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
e1:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE) e1:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE)
e1:SetTarget(c60150616.tgtg) e1:SetTarget(c60150616.e1tg)
e1:SetValue(1) e1:SetValue(1)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c60150616.tgtg(e,c) function c60150616.e1tg(e,c)
return e:GetHandler():GetLinkedGroup():IsContains(c) return e:GetHandler():GetLinkedGroup():IsContains(c)
end end
function c60150616.spfilter2(c) function c60150616.spfilter2(c)
...@@ -68,7 +68,7 @@ end ...@@ -68,7 +68,7 @@ end
function c60150616.tgfilter(c) function c60150616.tgfilter(c)
return c:IsSetCard(0x3b21) and c:IsType(TYPE_MONSTER) return c:IsSetCard(0x3b21) and c:IsType(TYPE_MONSTER)
end end
function c60150616.tgtg(e,tp,eg,ep,ev,re,r,rp,chk) function c60150616.e4tg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c60150616.tgfilter,tp,LOCATION_DECK,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c60150616.tgfilter,tp,LOCATION_DECK,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,nil,1,tp,LOCATION_DECK) Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,nil,1,tp,LOCATION_DECK)
end end
...@@ -78,7 +78,7 @@ end ...@@ -78,7 +78,7 @@ end
function c60150616.gfilter2(c) function c60150616.gfilter2(c)
return c:IsAbleToGrave() return c:IsAbleToGrave()
end end
function c60150616.tgop(e,tp,eg,ep,ev,re,r,rp) function c60150616.e4op(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(c60150616.tgfilter,tp,LOCATION_DECK,0,nil) local g=Duel.GetMatchingGroup(c60150616.tgfilter,tp,LOCATION_DECK,0,nil)
local g2=g:Filter(c60150616.gfilter,nil) local g2=g:Filter(c60150616.gfilter,nil)
local g3=g:Filter(c60150616.gfilter2,nil) local g3=g:Filter(c60150616.gfilter2,nil)
......
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