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