Commit 46327f30 authored by POLYMER's avatar POLYMER

fix

parent 135c9200
......@@ -97,6 +97,17 @@ if not require and Duel.LoadScript then
return require_list[str]
end
end
if not Duel.LoadScript and loadfile then
function Duel.LoadScript(str)
require_list=require_list or {}
str="expansions/script/"..str
if not require_list[str] then
require_list[str]=loadfile(str..".lua")
pcall(require_list[str])
end
return require_list[str]
end
end
function cm.nnfilter(c,ec)
if c:GetOriginalType()==0x11 or c:GetOriginalType()==0x1011 then return false end
if not c.initial_effect then return true end
......
......@@ -42,9 +42,9 @@ function c76029027.initial_effect(c)
end
c76029027.named_with_Kazimierz=true
function c76029027.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
e:GetHandler():SetTurnCounter(0)
local sg=Duel.GetMatchingGroup(Card.IsFacedown,tp,0,LOCATION_MZONE,nil)
if chk==0 then return sg:GetCount()>0 end
e:GetHandler():SetTurnCounter(0)
Duel.SetOperationInfo(0,CATEGORY_POSITION,sg,sg:GetCount(),0,0)
--destroy
local e1=Effect.CreateEffect(e:GetHandler())
......
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