Commit d891f429 authored by VanillaSalt's avatar VanillaSalt

fix

parent b38f40bc
......@@ -23,7 +23,7 @@ function c28884172.initial_effect(c)
c:RegisterEffect(e2)
end
function c28884172.spfilter(c,e,tp)
return c:IsSetCard(0x54) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
return c:IsSetCard(0x54) and not c:IsCode(28884172) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function c28884172.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_GRAVE) and c28884172.spfilter(chkc,e,tp) end
......
......@@ -25,8 +25,8 @@ function c68462976.initial_effect(c)
e2:SetLabelObject(e3)
end
function c68462976.actlimit(e,te,tp)
if not te:IsHasType(EFFECT_TYPE_ACTIVATE) or not te:GetHandler():IsType(TYPE_SPELL) then return false end
if tp==e:GetHandler():GetControler() then return e:GetLabel()==1
if not te:IsHasType(EFFECT_TYPE_ACTIVATE) or not te:IsActiveType(TYPE_SPELL) then return false end
if tp==e:GetHandlerPlayer() then return e:GetLabel()==1
else return e:GetLabel()==2 end
end
function c68462976.filter(c)
......
......@@ -13,9 +13,11 @@ function c80802524.initial_effect(c)
end
function c80802524.condition(e,tp,eg,ep,ev,re,r,rp)
local tc=eg:GetFirst()
e:SetLabel(tc:GetCode())
return rp~=tp and eg:GetCount()==1 and tc:IsReason(REASON_DESTROY) and tc:IsReason(REASON_BATTLE+REASON_EFFECT)
and tc:IsPreviousLocation(LOCATION_MZONE) and tc:GetPreviousControler()==tp and tc:IsSetCard(0x8d)
if rp~=tp and eg:GetCount()==1 and tc:IsReason(REASON_DESTROY) and tc:IsReason(REASON_BATTLE+REASON_EFFECT)
and tc:IsPreviousLocation(LOCATION_MZONE) and tc:GetPreviousControler()==tp and tc:IsSetCard(0x8d) then
e:SetLabel(tc:GetCode())
return true
else return false end
end
function c80802524.filter(c,e,tp,code)
return c:IsSetCard(0x8d) and c:GetCode()~=code and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEDOWN)
......
--외신 나이알라
--外神ナイアルラ
function c8809344.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,aux.XyzFilterFunction(c,4),2)
......@@ -37,7 +37,7 @@ function c8809344.rkop(e,tp,eg,ep,ev,re,r,rp)
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_UPDATE_RANK)
e2:SetReset(RESET_EVENT+0x1ff0000+RESET_PHASE+PHASE_END)
e2:SetReset(RESET_EVENT+0x1ff0000)
e2:SetValue(e:GetLabel())
c:RegisterEffect(e2)
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