Commit a8e39fe8 authored by GuGu's avatar GuGu

Update c22271104.lua 地图配套+category修正

parent faa75765
Pipeline #21705 passed with stage
in 1 minute and 17 seconds
......@@ -5,7 +5,7 @@ function c22271104.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(22271104,0))
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCategory(CATEGORY_DISABLE+CATEGORY_TOGRAVE)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetCode(EVENT_CHAINING)
--e1:SetCountLimit(1,22271104+EFFECT_COUNT_CODE_OATH)
e1:SetTarget(c22271104.target)
......@@ -63,6 +63,8 @@ function c22271104.activate(e,tp,eg,ep,ev,re,r,rp)
local ct=Duel.GetMZoneCount(tp)
if ct<1 then return end
local sg=Group.CreateGroup()
local ev=Duel.GetCurrentChain()-1
if ev<1 then return end
for i=1,ev do
local te=Duel.GetChainInfo(i,CHAININFO_TRIGGERING_EFFECT)
if te:IsHasType(EFFECT_TYPE_ACTIVATE) then
......
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