Commit ccea4c9f authored by mercury233's avatar mercury233

update

parent f0ff033b
--漆黒のパワーストーン
function c34029630.initial_effect(c)
--counter permit
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_COUNTER_PERMIT+0x1)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetCondition(c34029630.ctpermit)
c:RegisterEffect(e1)
c:EnableCounterPermit(0x1)
--Activate
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_COUNTER)
......@@ -37,10 +31,6 @@ function c34029630.initial_effect(c)
e4:SetCondition(c34029630.descon)
c:RegisterEffect(e4)
end
function c34029630.ctpermit(e)
local c=e:GetHandler()
return c:IsLocation(LOCATION_SZONE) and not c:IsStatus(STATUS_DISABLED)
end
function c34029630.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsOnField() and c34029630.filter(chkc) end
local c=e:GetHandler()
......
......@@ -4,9 +4,8 @@ function c83269557.initial_effect(c)
--counter permit
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetCode(EFFECT_COUNTER_PERMIT+0x1)
e1:SetRange(LOCATION_MZONE)
e1:SetValue(LOCATION_MZONE)
e1:SetCondition(aux.IsDualState)
c:RegisterEffect(e1)
--atk up
......
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