Artifact a9f80fcb5b24e363de5e6920205d6ddde91dd9bb6415ccec81eb6f9b61713c7d:
- File 残局函数库/残局函数库.lua — part of check-in [1c382bc392] at 2023-06-18 05:50:35 on branch trunk — 0.0.215 (user: 顽雨沉风, size: 551) [annotate] [blame] [check-ins using]
local str = {} local fun = {} local cache_1 fun["通关邀请"]=function() local effect_100 effect_100 = Effect.GlobalEffect() effect_100:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS) effect_100:SetCode(EVENT_DAMAGE) function cache_1() cache_1 = Duel.GetLP(1) return cache_1 <= 0 end effect_100:SetCondition(cache_1) function cache_1() Debug.ShowHint("残局群181175613") return end effect_100:SetOperation(cache_1) Duel.RegisterEffect(effect_100 , 0) end