Commit c452061c authored by VanillaSalt's avatar VanillaSalt

fix

parent e2f23b55
......@@ -29,7 +29,7 @@ function c85668449.initial_effect(c)
e3:SetRange(LOCATION_FZONE)
e3:SetCode(EFFECT_LPCOST_REPLACE)
e3:SetCondition(c85668449.lrcon)
e3:SetOperation(c85668449.ctop)
e3:SetOperation(c85668449.lrop)
c:RegisterEffect(e3)
--damage
local e4=Effect.CreateEffect(c)
......@@ -62,6 +62,9 @@ function c85668449.lrcon(e,tp,eg,ep,ev,re,r,rp)
local rc=re:GetHandler()
return rc:IsLocation(LOCATION_MZONE) and rc:IsRace(RACE_PSYCHO)
end
function c85668449.lrop(e,tp,eg,ep,ev,re,r,rp)
e:GetHandler():AddCounter(0x4,1)
end
function c85668449.damp(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local ct=c:GetCounter(0x4)
......
......@@ -9,6 +9,7 @@ function c96592102.initial_effect(c)
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCondition(c96592102.atkcon)
e1:SetOperation(c96592102.atkop)
c:RegisterEffect(e1)
......
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