--value: SummonConditionValue - can only be special summoned from Extra Deck (if can only be XXX summoned from Extra Deck, must use aux.OR(xxxval,rsval.spconfe), but not AND)
...
...
@@ -1489,7 +1634,6 @@ function rstg.disnegtg(dn_type,way_str)
--other function: Find Intersection element in 2 table2
functionrsof.Table_Intersection(tab1,...)
localintersection_list={}
localtab_list={...}
for_,ele1inpairs(tab1)do
table.insert(intersection_list,ele1)
for_,table2inpairs(tab_list)do
ifnotrsof.Table_List(table2,ele1)then
functionrsof.Table_Intersection(tab1,...)
localintersection_list={}
localtab_list={...}
for_,ele1inpairs(tab1)do
table.insert(intersection_list,ele1)
for_,table2inpairs(tab_list)do
ifnotrsof.Table_List(table2,ele1)then
table.remove(intersection_list)
break
break
end
end
end
return#intersection_list>0,intersection_list
return#intersection_list>0,intersection_list
end
--Other function: make mix type val_list1 (can be string, table or string+table) become int table, string will be suitted with val_listall and str_listall to idx the correct int