Commit 61d04873 authored by POLYMER's avatar POLYMER

fix

parent 4bcc5d39
......@@ -35,7 +35,7 @@ function cm.eftg(e,c)
return e:GetHandler():GetEquipTarget()==c
end
function cm.spfilter(c,e,tp,link)
return c:IsType(TYPE_LINK) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and Duel.GetLocationCountFromEx(tp,tp,nil,c)>0 and c:IsLink(link)
return c:IsType(TYPE_LINK) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and Duel.GetLocationCountFromEx(tp,tp,nil,c)>0 and c:IsLink(link) and c:IsLinkAbove(2)
end
function cm.stg(e,tp,eg,ep,ev,re,r,rp,chk)
local link=math.ceil((Duel.GetCurrentChain()+1)/2)
......
......@@ -43,6 +43,7 @@ function c28335633.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CONFIRM)
local cg=g:SelectSubGroup(tp,aux.dabcheck,false,1,ft)
Duel.ConfirmCards(1-tp,cg)
Duel.ShuffleHand(tp)
local tab={}
local ct=0
for tc in aux.Next(cg) do
......
......@@ -40,8 +40,7 @@ function c28362118.initial_effect(c)
e3:SetCategory(CATEGORY_CONTROL)
e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e3:SetCode(EVENT_SPSUMMON_SUCCESS)
e3:SetProperty(EFFECT_FLAG_DELAY)
e3:SetProperty(EFFECT_FLAG_CARD_TARGET)
e3:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CARD_TARGET)
e3:SetRange(LOCATION_MZONE)
--e3:SetCountLimit(1)
e3:SetCondition(c28362118.ctcon)
......
......@@ -421,7 +421,9 @@ function cm.AASTadjustop(otyp,ext)
return
function(e,tp,eg,ep,ev,re,r,rp)
local adjt={}
if ext then adjt={ext} else adjt={e:GetLabelObject()} end
if ext then
if type(ext)=="table" then adjt=ext else adjt={ext} end
else adjt={e:GetLabelObject()} end
if #adjt==0 then e:Reset() return end
for _,te in pairs(adjt) do
local c=te:GetHandler()
......@@ -2425,7 +2427,7 @@ function cm.DragoronActivate(c,code)
Duel.RegisterEffect(ge2,0)
local ge3=Effect.CreateEffect(c)
ge3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
ge3:SetProperty(EFFECT_FLAG_DELAY)
--ge3:SetProperty(EFFECT_FLAG_DELAY)
ge3:SetCode(EVENT_MOVE)
ge3:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(nil,0,0xff,0xff,nil)
......@@ -2578,7 +2580,7 @@ function cm.DragoronActivate(c,code)
Card.GetActivateEffect=function(ac)
local re=ADGD_GetActivateEffect(ac)
local le={ac:IsHasEffect(53757000)}
if #le>0 then
if #le>0 and not ac:IsLocation(LOCATION_FZONE) then
le=le[1]
re=le:GetLabelObject()
end
......
......@@ -60,7 +60,7 @@ end
function cm.ccon(e)
return Duel.GetFieldGroupCount(e:GetHandlerPlayer(),LOCATION_MZONE,0)>1
end
cm.input ={[[+Y-6-7-O-8]],[[+Y-:-M-?,x]],[[+i-?,w-5-8]],[[+_+\-B-G+h]],[[+_,x-A+Z-D]],[[+Z+W-M-M-8]],[[+X+V--+s-@]],[[+`+[-K-K- ]]}
cm.input ={[[+Z+Z,r-?+p]],[[+Z+`-+-N-6]],[[+j+d-7- +T]],[[+Z-7,y,x+d]],[[+Z-3+\-B,x]],[[+Y-!-,-=+p]],[[+X+V--+s-@]],[[+_+[+q-*-$]]}
cm.string={}
cm.string[1]={"Celestial Gate!","这张卡回到手卡,这个回合每次场上的卡回到手卡,对方场上1张卡破坏"}
cm.string[2]={"北斗千手杀!","这个回合对方是已把效果发动过7次以上时,对方场上的怪兽全部破坏"}
......
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