Commit dcc19d1d authored by TanakaKotoha's avatar TanakaKotoha

fix

parent a62759eb
......@@ -42,7 +42,6 @@ function rscon.CreatEvent_Set(e,tp,eg,ep,ev,re,r,rp)
local sg=eg:Filter(Card.IsFacedown,nil)
return #sg>0,sg
end
--Effect: Get default hint string for Duel.Hint ,use in effect target
function rsef.GetDefaultHintString(cate_list,loc_self,loc_oppo,hint_list)
if hint_list then
......@@ -1597,7 +1596,7 @@ function rsop.target2(endfun,...)
return rstg.target2(endfun,rsop.list(...))
end
function rsop.target3(checkfun,...)
return rstg.target2(checkfun,rsop.list(...))
return rstg.target3(checkfun,rsop.list(...))
end
--Target function: Get target attributes
function rstg.GetTargetAttribute(e,tp,eg,ep,ev,re,r,rp,target_list)
......@@ -1878,7 +1877,7 @@ function rstg.TargetSelect(e,tp,eg,ep,ev,re,r,rp,target_list_total)
info_player = PLAYER_ALL
elseif (type(loc_self)=="number" and loc_self>0) and (type(loc_oppo)~="number" or loc_oppo<=0) then
info_player = tp
elseif (type(loc_self)=="number" or loc_self<=0) and (type(loc_oppo)=="number" and loc_oppo>0) then
elseif (type(loc_self)~="number" or loc_self<=0) and (type(loc_oppo)=="number" and loc_oppo>0) then
info_player = 1-tp
end
end
......@@ -3723,7 +3722,7 @@ function rssf.EnableSpecialProcedure_Op(e,tp)
e:Reset()
end
function rssf.EnableSpecialProcedure_Op_regop(e,c,tp,st,sp,stp,se)
if not c:IsType(rscf.extype) then return false end
if not c:IsType(rscf.extype) or c:IsType(TYPE_FUSION) then return false end
rscf.ssproce[c] = rscf.ssproce[c] or {[1]={},[2]={}}
if se and se:GetCode()==EFFECT_SPSUMMON_PROC and not rsof.Table_List(rscf.ssproce[c][1],se) then
c:RegisterFlagEffect(rscode.Special_Procedure,0,0,1)
......
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