Commit ae9029b2 authored by Tachibana's avatar Tachibana

eme

parent 02283915
......@@ -19,7 +19,7 @@ function c24865320.initial_effect(c)
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(24865320,1))
e2:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOEXTRA)
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetProperty(EFFECT_FLAG_CARD_TARGET)
e2:SetCode(EVENT_FREE_CHAIN)
e2:SetRange(LOCATION_MZONE)
......@@ -61,8 +61,7 @@ end
function c24865320.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local c=e:GetHandler()
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and c24865320.filter(chkc,e,tp) and chkc:IsControler(tp) and c24865320.texfilter(chkc) and chkc~=c end
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingTarget(c24865320.filter,tp,LOCATION_GRAVE,LOCATION_GRAVE,1,nil,e,tp) and c:IsAbleToExtra() end
if chk==0 then return Duel.IsExistingTarget(c24865320.filter,tp,LOCATION_GRAVE,LOCATION_GRAVE,1,nil,e,tp) and c:IsAbleToExtra() end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectTarget(tp,c24865320.filter,tp,LOCATION_GRAVE,LOCATION_GRAVE,1,1,nil,e,tp)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,g,1,0,0)
......@@ -78,7 +77,7 @@ function c24865320.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function c24865320.spcd(e)
return e:GetHandler():GetOverlayCount()==0
return e:GetHandler():GetOverlayCount()==0 and not e:GetHandler():IsStatus(STATUS_CHAINING)
end
function c24865320.gl(c)
return c:IsCode(24865317) and not c:IsDisabled()
......
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