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

fix

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