游戏王残局简化版

Artifact [38cdf7de89]
Login

Artifact [38cdf7de89]

Artifact 38cdf7de890fe931d0a69366600dc98f07be29b81c5882fd552dc7cf9fb60587:



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)

    if cache_1 <= 0 then
      cache_1 = true
    else
      cache_1 = false
      end

    return cache_1
    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

fun["开局添加手卡"] = function()
  local effect_100
  end

fun["通关邀请"]()