Commit f8ed01d2 authored by mercury233's avatar mercury233

fix

parent cb97a8e2
...@@ -7,7 +7,7 @@ function c101010016.initial_effect(c) ...@@ -7,7 +7,7 @@ function c101010016.initial_effect(c)
e1:SetDescription(aux.Stringid(101010016,0)) e1:SetDescription(aux.Stringid(101010016,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION) e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_GRAVE) e1:SetRange(LOCATION_HAND+LOCATION_GRAVE)
e1:SetCountLimit(1,101010016) e1:SetCountLimit(1,101010016)
e1:SetCondition(c101010016.spcon) e1:SetCondition(c101010016.spcon)
e1:SetTarget(c101010016.sptg) e1:SetTarget(c101010016.sptg)
...@@ -31,12 +31,12 @@ function c101010016.spcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -31,12 +31,12 @@ function c101010016.spcon(e,tp,eg,ep,ev,re,r,rp)
end end
function c101010016.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c101010016.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP_DEFENSE) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
end end
function c101010016.spop(e,tp,eg,ep,ev,re,r,rp) function c101010016.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 then if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP_DEFENSE)~=0 then
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
...@@ -62,7 +62,7 @@ function c101010016.lvop(e,tp,eg,ep,ev,re,r,rp) ...@@ -62,7 +62,7 @@ function c101010016.lvop(e,tp,eg,ep,ev,re,r,rp)
e1:SetCode(EFFECT_CHANGE_LEVEL) e1:SetCode(EFFECT_CHANGE_LEVEL)
e1:SetValue(8) e1:SetValue(8)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END) e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
lc:RegisterEffect(e1) tc:RegisterEffect(e1)
tc=g:GetNext() tc=g:GetNext()
end end
end 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