Commit 3b4b10b0 authored by songtongtong's avatar songtongtong

script rep

parent 7696b5c3
......@@ -23,7 +23,7 @@ function s.initial_effect(c)
e2:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_RELEASE)
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_GRAVE)
e1:SetCountLimit(1,id+10000)
e2:SetCountLimit(1,id+10000)
e2:SetCost(s.cost)
e2:SetTarget(s.tg)
e2:SetOperation(s.op)
......
......@@ -15,6 +15,8 @@ function s.initial_effect(c)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_SZONE)
e1:SetCountLimit(1,id)
e1:SetLabel(0)
e1:SetCost(s.cost)
e1:SetTarget(MJ_VHisc.tg)
e1:SetOperation(MJ_VHisc.op)
c:RegisterEffect(e1)
......@@ -25,7 +27,14 @@ function s.initial_effect(c)
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_SZONE)
e2:SetCountLimit(1,id)
e2:SetLabel(1)
e2:SetCost(s.cost)
e2:SetTarget(MJ_VHisc.sptg)
e2:SetOperation(MJ_VHisc.spop)
c:RegisterEffect(e2)
end
function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.Hint(HINT_SELECTMSG,1-tp,aux.Stringid(id,e:GetLabel()))
end
\ No newline at end of file
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