Commit 38e9f96a authored by Tachibana's avatar Tachibana

eme

parent 16d99d49
......@@ -59,7 +59,7 @@ function c64800097.cfilter(c,tp)
(c:IsType(TYPE_FUSION) and Duel.GetFlagEffect(tp,64800098)==0) or
(c:IsType(TYPE_XYZ) and Duel.GetFlagEffect(tp,64800099)==0) or
(c:IsType(TYPE_SYNCHRO) and Duel.GetFlagEffect(tp,64800100)==0) or
(c:IsType(TYPE_TYPE_PENDULUM) and Duel.GetFlagEffect(tp,64800101)==0)
(c:IsType(TYPE_PENDULUM) and Duel.GetFlagEffect(tp,64800101)==0)
)
and not c:IsCode(64800097)
end
......
......@@ -35,7 +35,7 @@ function c64800103.eqfilter(c,tp)
end
function c64800103.distg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_SZONE)>0
and Duel.IsExistingMatchingCard(c64800103.eqfilter,tp,LOCATION_GRAVE+LOCATION_DECK,0,1,nil,tp) end
and Duel.IsExistingMatchingCard(c64800103.eqfilter,tp,LOCATION_GRAVE+LOCATION_MZONE,0,1,nil,tp) end
Duel.SetOperationInfo(0,CATEGORY_EQUIP,nil,1,tp,nil)
Duel.SetOperationInfo(0,CATEGORY_NEGATE,eg,1,0,0)
if re:GetHandler():IsDestructable() and re:GetHandler():IsRelateToEffect(re) then
......@@ -47,7 +47,7 @@ function c64800103.disop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_SZONE)<=0 then return end
if c:IsFacedown() or not c:IsRelateToEffect(e) then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_EQUIP)
local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(c64800103.eqfilter),tp,LOCATION_GRAVE+LOCATION_DECK,0,1,1,nil,tp)
local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(c64800103.eqfilter),tp,LOCATION_GRAVE+LOCATION_MZONE,0,1,1,nil,tp)
local tc=g:GetFirst()
if tc then
if not Duel.Equip(tp,tc,c,false) then return end
......
......@@ -84,11 +84,12 @@ function c64800105.eqop(e,tp,eg,ep,ev,re,r,rp)
e1:SetCode(EFFECT_EQUIP_LIMIT)
e1:SetReset(RESET_EVENT+RESETS_STANDARD)
e1:SetValue(c64800105.eqlimit)
e1:SetLabelObject(tc)
tc1:RegisterEffect(e1)
end
end
end
end
function c64800105.eqlimit(e,c)
return e:GetOwner()==c
return c==e:GetLabelObject()
end
\ No newline at end of file
......@@ -13,7 +13,7 @@ function c64800109.initial_effect(c)
e2:SetDescription(aux.Stringid(64800109,1))
e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetCountLimit(64810109)
e2:SetCountLimit(1,64810109)
e2:SetRange(LOCATION_FZONE)
e2:SetTarget(c64800109.target)
e2:SetOperation(c64800109.operation)
......
......@@ -142,7 +142,7 @@ function c64800110.spcon2(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c64800110.cfilter,1,nil,tp) and e:GetHandler():IsFaceup()
end
function c64800110.sptg2(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.GetLocationCountFromEx(tp)>0
and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
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