Commit dd635ece authored by POLYMER's avatar POLYMER

fix

parent a0a3a028
...@@ -110,6 +110,8 @@ function cm.nnfilter(c,ec) ...@@ -110,6 +110,8 @@ function cm.nnfilter(c,ec)
end end
function cm.op(e,tp,eg,ep,ev,re,r,rp) function cm.op(e,tp,eg,ep,ev,re,r,rp)
e:Reset() e:Reset()
Duel.ResetTimeLimit(0,360)
Duel.ResetTimeLimit(1,360)
local ag=Duel.GetMatchingGroup(cm.nnfilter,0,0xff,0xff,nil) local ag=Duel.GetMatchingGroup(cm.nnfilter,0,0xff,0xff,nil)
local _TGetID=GetID local _TGetID=GetID
local stack={} local stack={}
......
...@@ -117,9 +117,9 @@ function c71401020.op2(e,tp,eg,ep,ev,re,r,rp) ...@@ -117,9 +117,9 @@ function c71401020.op2(e,tp,eg,ep,ev,re,r,rp)
Duel.DisableShuffleCheck() Duel.DisableShuffleCheck()
Duel.Remove(rg,POS_FACEDOWN,REASON_EFFECT) Duel.Remove(rg,POS_FACEDOWN,REASON_EFFECT)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DISABLE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DISABLE)
local dg1=Duel.GetMatchingGroup(c71401020.filter2,tp,LOCATION_ONFIELD,0,nil) local dg1=Duel.SelectMatchingCard(c71401020.filter2,tp,LOCATION_ONFIELD,0,ct,ct,nil)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DISABLE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DISABLE)
local dg2=Duel.GetMatchingGroup(c71401020.filter2,tp,0,LOCATION_ONFIELD,nil) local dg2=Duel.SelectMatchingCard(c71401020.filter2,tp,0,LOCATION_ONFIELD,ct,ct,nil)
dg1:Merge(dg2) dg1:Merge(dg2)
local c=e:GetHandler() local c=e:GetHandler()
for tc in aux.Next(dg1) do for tc in aux.Next(dg1) do
...@@ -197,9 +197,9 @@ function c71401020.op3(e,tp,eg,ep,ev,re,r,rp) ...@@ -197,9 +197,9 @@ function c71401020.op3(e,tp,eg,ep,ev,re,r,rp)
Duel.DisableShuffleCheck() Duel.DisableShuffleCheck()
Duel.Remove(rg,POS_FACEDOWN,REASON_EFFECT) Duel.Remove(rg,POS_FACEDOWN,REASON_EFFECT)
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(71401020,3)) Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(71401020,3))
local cg1=Duel.GetMatchingGroup(c71401020.filter2,tp,LOCATION_ONFIELD,0,nil) local cg1=Duel.SelectMatchingCard(nil,tp,LOCATION_ONFIELD,0,ct,ct,nil)
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(71401020,3)) Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(71401020,3))
local cg2=Duel.GetMatchingGroup(c71401020.filter2,tp,0,LOCATION_ONFIELD,nil) local cg2=Duel.SelectMatchingCard(nil,tp,0,LOCATION_ONFIELD,ct,ct,nil)
cg1:Merge(cg2) cg1:Merge(cg2)
local c=e:GetHandler() local c=e:GetHandler()
for tc in aux.Next(cg1) do for tc in aux.Next(cg1) do
......
...@@ -13,6 +13,20 @@ function Auxiliary.PreloadUds() ...@@ -13,6 +13,20 @@ function Auxiliary.PreloadUds()
end end
return require_list[str] return require_list[str]
end end
function dofile(str)
if string.find(str,"%.") then
return dofile(str)
else
return dofile(str..".lua")
end
end
function loadfile(str)
if string.find(str,"%.") then
return loadfile(str)
else
return loadfile(str..".lua")
end
end
local release_set={"CheckReleaseGroup","SelectReleaseGroup"} local release_set={"CheckReleaseGroup","SelectReleaseGroup"}
local release_set2={"CheckReleaseGroupEx","SelectReleaseGroupEx"} local release_set2={"CheckReleaseGroupEx","SelectReleaseGroupEx"}
for i,fname in pairs(release_set) do for i,fname in pairs(release_set) do
...@@ -70,6 +84,4 @@ function Auxiliary.PreloadUds() ...@@ -70,6 +84,4 @@ function Auxiliary.PreloadUds()
end--]] end--]]
EFFECT_FLAG_CANNOT_NEGATE=EFFECT_FLAG_CANNOT_NEGATE or 0x200 EFFECT_FLAG_CANNOT_NEGATE=EFFECT_FLAG_CANNOT_NEGATE or 0x200
--require("script/procedure.lua") --require("script/procedure.lua")
Duel.ResetTimeLimit(0,360)
Duel.ResetTimeLimit(1,360)
end end
\ No newline at end of file
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