--Using for function "Scl.RegisterZone" to recording effects' appliable zones.
Scl.Effect_Zone_List={}
--Using for some functions that call the old library (c10199990.lua), like rsop.target2/rstg.target2/rscost.cost2/rsop.target3/rstg.target3/rscost.cost3
Scl.Last_Selected_Group=Group.CreateGroup()
Scl.Last_Selected_Group:KeepAlive()
--Attach extra effect
EFFECT_ADDITIONAL_EFFECT_SCL=id+100
...
...
@@ -1326,6 +1328,8 @@ function Scl.RegisterActivateCountLimit(reg_eff, lim_obj)
if(type(val)=="number"and(val==3orval==0x1))or
(type(val)=="string"andval=="Share")then
lim_code=EFFECT_COUNT_CODE_SINGLE
elseiftype(val)=="string"andval=="Chain"then
lim_code=EFFECT_COUNT_CODE_CHAIN
else
lim_code=lim_obj[2]
end
...
...
@@ -3433,15 +3437,10 @@ end
6.oppo max count (default == oppo min count): your opponent's max operate count.
2.extra_operate_function: add an additional operate to the effect cost/target, call extra_operate_function(current list's selected card(s), all above lists's selected card(s),e, tp, eg, ...) to operate.
//return list_typ, extra_operate_function
2.extra_cost_function/extra_target_function: add an additional cost/target to the effect cost/target, call extra_check_function(e, tp, eg, ..., chk, chkc) .
rsef.FV=rsef.FV_Player--- only 33700938 33700940 call this function, and all of them call this function to register a player buff, so don't need to define rsef.FV_Card.