Commit ed82eedb authored by POLYMER's avatar POLYMER

fix

parent 02a51702
......@@ -5,6 +5,7 @@ function c22020300.initial_effect(c)
e1:SetDescription(aux.Stringid(22020300,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetCountLimit(1,22020300)
e1:SetCost(c22020300.spcost)
......
......@@ -9,7 +9,7 @@ function s.initial_effect(c)
e2:SetCode(EVENT_LEAVE_FIELD)
e2:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
e2:SetRange(LOCATION_HAND+LOCATION_GRAVE)
e2:SetCountLimit(1)
e2:SetCountLimit(1,id)
e2:SetCondition(s.spcon)
e2:SetTarget(s.sptg)
e2:SetOperation(s.spop)
......
......@@ -149,7 +149,7 @@ function s.activate4(e,tp,eg,ep,ev,re,r,rp)
end
end
function s.costfilter(c)
return c:IsSetCard(0x23f) and c:IsAbleToRemoveAsCost()
return c:IsSetCard(0xc31) and c:IsAbleToRemoveAsCost()
end
function s.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
......
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