Commit 31919a1a authored by wind2009's avatar wind2009

Fix ワクチンゲール

parent f8536357
Pipeline #26410 passed with stages
in 54 seconds
...@@ -13,18 +13,19 @@ function s.initial_effect(c) ...@@ -13,18 +13,19 @@ function s.initial_effect(c)
e1:SetTarget(s.atktg) e1:SetTarget(s.atktg)
e1:SetOperation(s.atkop) e1:SetOperation(s.atkop)
c:RegisterEffect(e1) c:RegisterEffect(e1)
local e3=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(id,1)) e2:SetDescription(aux.Stringid(id,1))
e3:SetCategory(CATEGORY_TOHAND) e2:SetCategory(CATEGORY_TOHAND)
e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e3:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CARD_TARGET) e2:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CARD_TARGET)
e3:SetCode(EVENT_SPSUMMON_SUCCESS) e2:SetCode(EVENT_CUSTOM+id)
e3:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e3:SetCountLimit(1) e2:SetCountLimit(1)
e3:SetCondition(s.atkcon2) e2:SetCondition(s.atkcon2)
e3:SetTarget(s.atktg2) e2:SetTarget(s.atktg2)
e3:SetOperation(s.atkop2) e2:SetOperation(s.atkop2)
c:RegisterEffect(e3) c:RegisterEffect(e2)
aux.RegisterMergedDelayedEvent(c,id,EVENT_SPSUMMON_SUCCESS)
end end
function s.atkcost(e,tp,eg,ep,ev,re,r,rp,chk) function s.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end
......
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