Commit 8d4fcc87 authored by Tachibana's avatar Tachibana

1145141919810

parent 6d2aea74
Pipeline #14461 passed with stages
in 28 minutes and 47 seconds
...@@ -22,9 +22,8 @@ function c33200730.initial_effect(c) ...@@ -22,9 +22,8 @@ function c33200730.initial_effect(c)
e2:SetDescription(aux.Stringid(33200730,1)) e2:SetDescription(aux.Stringid(33200730,1))
e2:SetCategory(CATEGORY_COUNTER) e2:SetCategory(CATEGORY_COUNTER)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetProperty(EFFECT_FLAG_DELAY) e2:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CARD_TARGET)
e2:SetCode(EVENT_TO_GRAVE) e2:SetCode(EVENT_TO_GRAVE)
e2:SetProperty(EFFECT_FLAG_CARD_TARGET)
e2:SetCountLimit(1,33200731) e2:SetCountLimit(1,33200731)
e2:SetCondition(c33200730.ccon) e2:SetCondition(c33200730.ccon)
e2:SetTarget(c33200730.ctg) e2:SetTarget(c33200730.ctg)
...@@ -83,7 +82,7 @@ end ...@@ -83,7 +82,7 @@ end
--e2 --e2
function c33200730.ccon(e,tp,eg,ep,ev,re,r,rp) function c33200730.ccon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) and e:GetHandler():IsSummonType(SUMMON_TYPE_LINK) return e:GetHandler():IsPreviousLocation(LOCATION_MZONE) and e:GetHandler():IsSummonType(SUMMON_TYPE_LINK)
end end
function c33200730.filter(c) function c33200730.filter(c)
return c:IsFaceup() and c:IsCanAddCounter(0x32a,2) return c:IsFaceup() and c:IsCanAddCounter(0x32a,2)
......
...@@ -20,9 +20,8 @@ function c33200732.initial_effect(c) ...@@ -20,9 +20,8 @@ function c33200732.initial_effect(c)
e2:SetDescription(aux.Stringid(33200732,1)) e2:SetDescription(aux.Stringid(33200732,1))
e2:SetCategory(CATEGORY_COUNTER) e2:SetCategory(CATEGORY_COUNTER)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetProperty(EFFECT_FLAG_DELAY) e2:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CARD_TARGET)
e2:SetCode(EVENT_TO_GRAVE) e2:SetCode(EVENT_TO_GRAVE)
e2:SetProperty(EFFECT_FLAG_CARD_TARGET)
e2:SetCountLimit(1,33200731) e2:SetCountLimit(1,33200731)
e2:SetCondition(c33200732.ccon) e2:SetCondition(c33200732.ccon)
e2:SetTarget(c33200732.ctg) e2:SetTarget(c33200732.ctg)
......
...@@ -32,9 +32,8 @@ function c33200734.initial_effect(c) ...@@ -32,9 +32,8 @@ function c33200734.initial_effect(c)
e3:SetDescription(aux.Stringid(33200734,2)) e3:SetDescription(aux.Stringid(33200734,2))
e3:SetCategory(CATEGORY_COUNTER) e3:SetCategory(CATEGORY_COUNTER)
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e3:SetProperty(EFFECT_FLAG_DELAY) e3:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CARD_TARGET)
e3:SetCode(EVENT_TO_GRAVE) e3:SetCode(EVENT_TO_GRAVE)
e3:SetProperty(EFFECT_FLAG_CARD_TARGET)
e3:SetCountLimit(1,33200736) e3:SetCountLimit(1,33200736)
e3:SetCondition(c33200734.ccon) e3:SetCondition(c33200734.ccon)
e3:SetTarget(c33200734.ctg) e3:SetTarget(c33200734.ctg)
......
...@@ -32,9 +32,8 @@ function c33200737.initial_effect(c) ...@@ -32,9 +32,8 @@ function c33200737.initial_effect(c)
e3:SetDescription(aux.Stringid(33200737,2)) e3:SetDescription(aux.Stringid(33200737,2))
e3:SetCategory(CATEGORY_COUNTER) e3:SetCategory(CATEGORY_COUNTER)
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e3:SetProperty(EFFECT_FLAG_DELAY) e3:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CARD_TARGET)
e3:SetCode(EVENT_TO_GRAVE) e3:SetCode(EVENT_TO_GRAVE)
e3:SetProperty(EFFECT_FLAG_CARD_TARGET)
e3:SetCountLimit(1,33200739) e3:SetCountLimit(1,33200739)
e3:SetCondition(c33200737.ccon) e3:SetCondition(c33200737.ccon)
e3:SetTarget(c33200737.ctg) e3:SetTarget(c33200737.ctg)
......
...@@ -23,11 +23,12 @@ function c33200740.initial_effect(c) ...@@ -23,11 +23,12 @@ function c33200740.initial_effect(c)
--counter --counter
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(33200740,1)) e3:SetDescription(aux.Stringid(33200740,1))
e3:SetCategory(CATEGORY_COUNTER) e3:SetCategory(CATEGORY_COUNTER+CATEGORY_TODECK)
e3:SetType(EFFECT_TYPE_QUICK_O) e3:SetType(EFFECT_TYPE_QUICK_O)
e3:SetCode(EVENT_FREE_CHAIN) e3:SetCode(EVENT_FREE_CHAIN)
e3:SetRange(LOCATION_SZONE) e3:SetRange(LOCATION_SZONE)
e3:SetHintTiming(0,TIMING_END_PHASE) e3:SetHintTiming(0,TIMING_END_PHASE)
e3:SetProperty(EFFECT_FLAG_CARD_TARGET)
e3:SetCountLimit(1,33200741) e3:SetCountLimit(1,33200741)
e3:SetTarget(c33200740.counttg) e3:SetTarget(c33200740.counttg)
e3:SetOperation(c33200740.counter) e3:SetOperation(c33200740.counter)
...@@ -79,18 +80,20 @@ end ...@@ -79,18 +80,20 @@ end
--e3 --e3
function c33200740.counttg(e,tp,eg,ep,ev,re,r,rp,chk) function c33200740.counttg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c33200740.cfilter,tp,LOCATION_REMOVED,0,2,nil) end if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_REMOVED) and c33200740.cfilter(chkc) end
if chk==0 then return e:GetHandler():IsCanAddCounter(0x32a,2) and Duel.IsExistingTarget(c33200740.cfilter,tp,LOCATION_REMOVED,0,2,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
local g=Duel.SelectTarget(tp,c33200740.cfilter,tp,LOCATION_REMOVED,0,2,2,nil)
Duel.HintSelection(g)
Duel.SetOperationInfo(0,CATEGORY_COUNTER,nil,e:GetHandler(),0,0x32a) Duel.SetOperationInfo(0,CATEGORY_COUNTER,nil,e:GetHandler(),0,0x32a)
Duel.SetOperationInfo(0,CATEGORY_TODECK,nil,1,0,LOCATION_REMOVED) Duel.SetOperationInfo(0,CATEGORY_TODECK,g,2,0,0)
Duel.Hint(HINT_OPSELECTED,1-tp,aux.Stringid(33200740,1)) Duel.Hint(HINT_OPSELECTED,1-tp,aux.Stringid(33200740,1))
end end
function c33200740.cfilter(c) function c33200740.cfilter(c)
return c:IsSetCard(0xc32a) and c:IsAbleToDeck() return c:IsSetCard(0xc32a) and c:IsAbleToDeck()
end end
function c33200740.counter(e,tp,eg,ep,ev,re,r,rp) function c33200740.counter(e,tp,eg,ep,ev,re,r,rp)
if not Duel.IsExistingMatchingCard(c33200740.cfilter,tp,LOCATION_REMOVED,0,2,nil) then return end local g=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS):Filter(Card.IsRelateToEffect,nil,e)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
local g=Duel.SelectMatchingCard(tp,c33200740.cfilter,tp,LOCATION_REMOVED,0,2,2,nil)
if g:GetCount()==2 then if g:GetCount()==2 then
if Duel.SendtoDeck(g,nil,2,REASON_EFFECT)==2 and e:GetHandler():IsRelateToEffect(e) then if Duel.SendtoDeck(g,nil,2,REASON_EFFECT)==2 and e:GetHandler():IsRelateToEffect(e) then
e:GetHandler():AddCounter(0x32a,2) e:GetHandler():AddCounter(0x32a,2)
......
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