Commit 8d68b401 authored by Nemo Ma's avatar Nemo Ma

fix

parent fedda526
......@@ -63,7 +63,7 @@ function c88802006.destg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
local tc=Duel.GetAttacker()
if tc==c then tc=Duel.GetAttackTarget() end
if chk==0 then return tc and tc:IsFaceup() and tc:GetRank()<5 or tc:GetLevel()<5 end
if chk==0 then return tc and tc:IsFaceup() and (tc:GetRank()<5 and not tc:GetRank()==0) or (tc:GetLevel()<5 and not tc:GetLevel()==0) end
Duel.SetOperationInfo(0,CATEGORY_DESTROY,tc,1,0,0)
end
function c88802006.desop(e,tp,eg,ep,ev,re,r,rp)
......
......@@ -35,7 +35,7 @@ function c88802008.destg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
local tc=Duel.GetAttacker()
if tc==c then tc=Duel.GetAttackTarget() end
if chk==0 then return tc and tc:IsFaceup() and tc:GetRank()<5 or tc:GetLevel()<5 end
if chk==0 then return tc and tc:IsFaceup() and (tc:GetRank()<5 and not tc:GetRank()==0) or (tc:GetLevel()<5 and not tc:GetLevel()==0) end
Duel.SetOperationInfo(0,CATEGORY_DESTROY,tc,1,0,0)
end
function c88802008.desop(e,tp,eg,ep,ev,re,r,rp)
......
--英豪冠军 圣盾王
--天空尊者 莫提乌斯
function c94393218.initial_effect(c)
--xyz summon
local e1=Effect.CreateEffect(c)
......@@ -97,7 +97,7 @@ function c94393218.XyzOperation(e,tp,eg,ep,ev,re,r,rp,c,og)
e:SetLabel(1)
end
if mg:Filter(Card.IsLocation,nil,LOCATION_HAND|LOCATION_GRAVE):GetCount()~=0 then
Duel.RegisterFlagEffect(tp,94393218,RESET_PHASE+PHASE_END,0,1)
Duel.RegisterFlagEffect(tp,94393218,RESET_PHASE+PHASE_END,EFFECT_FLAG_OATH,1)
end
local sg=Group.CreateGroup()
local tc=mg:GetFirst()
......@@ -151,3 +151,4 @@ function c94393218.spop(e,tp,eg,ep,ev,re,r,rp)
end
Duel.SpecialSummonComplete()
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