Commit d75169bb authored by Nemo Ma's avatar Nemo Ma

fix

parent 0df0bfc3
--traveler saga stray
--21.04.10
local m=11451403
local cm=_G["c"..m]
local cm,m=GetID()
function cm.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
......@@ -165,7 +164,7 @@ function cm.reop2(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(nil,tp,LOCATION_MZONE+LOCATION_HAND,0,nil)
g=g:Filter(Card.IsAbleToRemove,nil,tp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local ct=math.min(a,#g)
local ct=math.min(a,#g,n1)
local tg=g:Select(tp,ct,ct,nil)
Duel.Hint(HINT_CARD,0,m)
Duel.HintSelection(tg)
......@@ -206,7 +205,7 @@ function cm.reop2(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(nil,1-tp,LOCATION_MZONE+LOCATION_HAND,0,nil)
g=g:Filter(Card.IsAbleToRemove,nil,1-tp,POS_FACEUP,REASON_RULE)
Duel.Hint(HINT_SELECTMSG,1-tp,HINTMSG_REMOVE)
local ct=math.min(b,#g)
local ct=math.min(b,#g,n2)
local tg=g:Select(1-tp,ct,ct,nil)
Duel.Hint(HINT_CARD,0,m)
Duel.HintSelection(tg)
......
--反抗革命的卫兵
local m=11451446
local cm=_G["c"..m]
local cm,m=GetID()
function cm.initial_effect(c)
aux.AddCodeList(c,99518961)
c:EnableReviveLimit()
......@@ -85,7 +84,7 @@ function cm.ctcon(e,tp,eg,ep,ev,re,r,rp)
return tp~=p and Duel.IsExistingMatchingCard(cm.filter4,p,0,LOCATION_MZONE,4,nil)
end
function cm.cttg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chk==0 then return true end
if chk==0 then return e:GetHandler():IsControlerCanBeChanged() end
Duel.SetOperationInfo(0,CATEGORY_CONTROL,e:GetHandler(),1,0,0)
end
function cm.ctop(e,tp,eg,ep,ev,re,r,rp)
......
--方舟骑士-异客
--21.05.21
local m=11451566
local cm=_G["c"..m]
local cm,m=GetID()
cm.named_with_Arknight=1
function cm.initial_effect(c)
--pendulum summon
......@@ -91,7 +90,7 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EVENT_MOVE)
e1:SetLabel(fd)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_DELAY)
e1:SetCondition(cm.descon)
e1:SetOperation(cm.desop2)
e1:SetReset(RESET_PHASE+PHASE_END+RESET_EVENT+RESETS_STANDARD)
......
--将军刽子手
--22.05.06
local m=11451650
local cm=_G["c"..m]
local cm,m=GetID()
function cm.initial_effect(c)
--link summon
c:EnableReviveLimit()
......
......@@ -37,7 +37,7 @@ function cm.disop(e,tp,eg,ep,ev,re,r,rp)
Duel.NegateEffect(ev)
end
function cm.ctcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetFieldGroupCount(tp,LOCATION_ONFIELD,0)>Duel.GetFieldGroupCount(tp,0,LOCATION_ONFIELD)
return Duel.GetFieldGroupCount(tp,LOCATION_ONFIELD,0)>Duel.GetFieldGroupCount(tp,0,LOCATION_ONFIELD) and e:GetHandler():IsControlerCanBeChanged()
end
function cm.ctop(e,tp,eg,ep,ev,re,r,rp)
Duel.GetControl(e:GetHandler(),1-tp)
......
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