Artifact 005c88c0ddcc545309d56a783ace78967b2218ca79707f7e1d5037da26528fed:
- File 残局函数库.md — part of check-in [abec89c1d5] at 2023-05-20 03:05:20 on branch trunk — 0.0.134 (user: 顽雨沉风, size: 608) [annotate] [blame] [check-ins using]
--[[message 警告:不是残局!!! 打不开!!! 打不开!!! 打不开!!! ]]
local str = {} local fun = {}
local cache1
fun["通关邀请"]=function() local e100 e100=Effect.GlobalEffect() e100:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e100:SetCode(EVENT_DAMAGE) function cache1(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end e100:SetCondition(cache1) function cache1(e,tp,eg,ep,ev,re,r,rp) Debug.ShowHint("残局群181175613") return end e100:SetOperation(cache1) Duel.RegisterEffect(e100,0) end