Commit 5c7f694d authored by Nemo Ma's avatar Nemo Ma

fix

parent da8344b8
...@@ -101,7 +101,6 @@ end ...@@ -101,7 +101,6 @@ end
end end
if cm then if cm then
cm.named_with_Arknight=1
function cm.initial_effect(c) function cm.initial_effect(c)
c:EnableCounterPermit(0x10ae) c:EnableCounterPermit(0x10ae)
c:EnableReviveLimit() c:EnableReviveLimit()
...@@ -162,12 +161,12 @@ function c29017393.ctop(e,tp,eg,ep,ev,re,r,rp) ...@@ -162,12 +161,12 @@ function c29017393.ctop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if e:GetHandler():IsRelateToEffect(e) then if e:GetHandler():IsRelateToEffect(e) then
local n=1 local n=1
if Duel.IsPlayerAffectedByEffect(tp,29065580) then --if Duel.IsPlayerAffectedByEffect(tp,29065580) then
n=n+1 --n=n+1
end --end
e:GetHandler():AddCounter(0x10ae,n) e:GetHandler():AddCounter(0x10ae,n)
end end
if Duel.IsExistingMatchingCard(c29017393.refilter,tp,0,LOCATION_ONFIELD,1,nil) and Duel.SelectYesNo(tp,aux.Stringid(29065523,2)) then if Duel.IsExistingMatchingCard(c29017393.refilter,tp,0,LOCATION_ONFIELD,1,nil) and Duel.SelectYesNo(tp,aux.Stringid(29017393,2)) then
local sg=Duel.GetMatchingGroup(c29017393.refilter,tp,0,LOCATION_ONFIELD,nil) local sg=Duel.GetMatchingGroup(c29017393.refilter,tp,0,LOCATION_ONFIELD,nil)
if sg:GetCount()>0 then if sg:GetCount()>0 then
Duel.Remove(sg,POS_FACEDOWN,REASON_EFFECT) Duel.Remove(sg,POS_FACEDOWN,REASON_EFFECT)
......
--方舟骑士-玛恩纳 --方舟骑士-玛恩纳
c29065555.named_with_Arknight=1
function c29065555.initial_effect(c) function c29065555.initial_effect(c)
--xyz summon --xyz summon
c:EnableReviveLimit() c:EnableReviveLimit()
......
--引领者 -方舟骑士- --引领者 -方舟骑士-
c29068155.named_with_Arknight=1
function c29068155.initial_effect(c) function c29068155.initial_effect(c)
--link summon --link summon
c:EnableReviveLimit() c:EnableReviveLimit()
......
...@@ -22,7 +22,7 @@ function cm.initial_effect(c) ...@@ -22,7 +22,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function cm.filter(c) function cm.filter(c)
return c:IsCode(60002199) and c:IsAbleToHand() return c:IsCode(60002199) and c:IsAbleToRemove()
end end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk) function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsCanAddCounter(tp,0x625,1,e:GetHandler()) end if chk==0 then return Duel.IsCanAddCounter(tp,0x625,1,e:GetHandler()) end
...@@ -34,8 +34,8 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -34,8 +34,8 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
c:AddCounter(0x625,2) c:AddCounter(0x625,2)
if Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_GRAVE,0,1,nil) and Duel.SelectYesNo(tp,aux.Stringid(m,0)) then if Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_GRAVE,0,1,nil) and Duel.SelectYesNo(tp,aux.Stringid(m,0)) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g=Duel.SelectMatchingCard(tp,cm.filter,tp,0,LOCATION_GRAVE,1,1,nil) local tc=Duel.SelectMatchingCard(tp,cm.filter,tp,LOCATION_GRAVE,0,1,1,nil)
Duel.Remove(g:GetFirst(),POS_FACEUP,REASON_EFFECT) Duel.Remove(tc,POS_FACEUP,REASON_EFFECT)
Duel.Recover(tp,500,REASON_EFFECT) Duel.Recover(tp,500,REASON_EFFECT)
Duel.Draw(tp,1,REASON_EFFECT) Duel.Draw(tp,1,REASON_EFFECT)
end end
......
...@@ -37,8 +37,8 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -37,8 +37,8 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
c:AddCounter(0x625,2) c:AddCounter(0x625,2)
if Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_GRAVE,0,1,nil) and Duel.SelectYesNo(tp,aux.Stringid(m,0)) then if Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_GRAVE,0,1,nil) and Duel.SelectYesNo(tp,aux.Stringid(m,0)) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g=Duel.SelectMatchingCard(tp,cm.filter,tp,0,LOCATION_GRAVE,1,1,nil) local g=Duel.SelectMatchingCard(tp,cm.filter,tp,LOCATION_GRAVE,0,1,1,nil)
Duel.Remove(g:GetFirst(),POS_FACEUP,REASON_EFFECT) Duel.Remove(g,POS_FACEUP,REASON_EFFECT)
Duel.Recover(tp,500,REASON_EFFECT) Duel.Recover(tp,500,REASON_EFFECT)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local g2=Duel.SelectMatchingCard(tp,cm.xfilter,tp,0,LOCATION_MZONE,1,1,nil) local g2=Duel.SelectMatchingCard(tp,cm.xfilter,tp,0,LOCATION_MZONE,1,1,nil)
......
...@@ -34,8 +34,8 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -34,8 +34,8 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
c:AddCounter(0x625,2) c:AddCounter(0x625,2)
if Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_GRAVE,0,1,nil) and Duel.SelectYesNo(tp,aux.Stringid(m,0)) then if Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_GRAVE,0,1,nil) and Duel.SelectYesNo(tp,aux.Stringid(m,0)) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g=Duel.SelectMatchingCard(tp,cm.filter,tp,0,LOCATION_GRAVE,1,1,nil) local g=Duel.SelectMatchingCard(tp,cm.filter,tp,LOCATION_GRAVE,0,1,1,nil)
Duel.Remove(g:GetFirst(),POS_FACEUP,REASON_EFFECT) Duel.Remove(g,POS_FACEUP,REASON_EFFECT)
Duel.Recover(tp,1500,REASON_EFFECT) Duel.Recover(tp,1500,REASON_EFFECT)
end end
--cost --cost
......
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