Commit eafae0fc authored by mercury233's avatar mercury233

fix

parent 8950d581
......@@ -2,27 +2,27 @@
function c66809920.initial_effect(c)
--damage
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_LEAVE_GRAVE)
e1:SetDescription(aux.Stringid(66809920,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_LEAVE_GRAVE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCountLimit(1,66809920)
e1:SetCondition(c66809920.thcon)
e1:SetTarget(c66809920.thtg)
e1:SetOperation(c66809920.thop)
e1:SetCountLimit(1,66809920)
c:RegisterEffect(e1)
--remove
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_REMOVE+CATEGORY_LEAVE_GRAVE)
e2:SetDescription(aux.Stringid(66809920,1))
e2:SetCategory(CATEGORY_REMOVE+CATEGORY_LEAVE_GRAVE)
e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetCode(EVENT_FREE_CHAIN)
e2:SetRange(LOCATION_MZONE)
e2:SetCountLimit(1,66809921)
e2:SetCondition(c66809920.rmcon)
e2:SetTarget(c66809920.rmtg)
e2:SetOperation(c66809920.rmop)
e2:SetCountLimit(1,668099210)
c:RegisterEffect(e2)
end
c66809920.listed_names={92182447}
......
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