游戏王残局简化版

残局函数库.lua at [1d9eca104c]
Login

残局函数库.lua at [1d9eca104c]

File 残局函数库/残局函数库.lua artifact c2ec956167 part of check-in 1d9eca104c


--[[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)
    cache1=Duel.GetLP(1)
    return cache1<=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