Index: 残局函数库/残局函数库.lua ================================================================== --- 残局函数库/残局函数库.lua +++ 残局函数库/残局函数库.lua @@ -6,31 +6,31 @@ ]] local str = {} local fun = {} -local cache1 +local cache_1 fun["通关邀请"]=function() - local e100 - e100=Effect.GlobalEffect() - e100:SetType(EFFECT_TYPE_FIELD + local effect_100 + effect_100=Effect.GlobalEffect() + effect_100:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS) - e100:SetCode(EVENT_DAMAGE) - function cache1(e + effect_100:SetCode(EVENT_DAMAGE) + function cache_1(e , tp , eg , ep , ev , re , r , rp) - cache1=Duel.GetLP(1) - return cache1<=0 + cache_1=Duel.GetLP(1) + return cache_1<=0 end - e100:SetCondition(cache1) - function cache1(e + effect_100:SetCondition(cache_1) + function cache_1(e , tp , eg , ep , ev , re @@ -37,10 +37,10 @@ , r , rp) Debug.ShowHint("残局群181175613") return end - e100:SetOperation(cache1) - Duel.RegisterEffect(e100 + effect_100:SetOperation(cache_1) + Duel.RegisterEffect(effect_100 , 0) end