游戏王残局简化版

Check-in [fe3054fa0e]
Login

Check-in [fe3054fa0e]

Overview
Comment:0.0.350
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: fe3054fa0ee11f605b8988c36f3bb08aa961c98cc2265a409f64545bd3e22af6
User & Date: 顽雨沉风 on 2023-06-29 13:02:35
Other Links: manifest | tags
Context
2023-06-29
13:02
0.0.351 check-in: 4b54270049 user: 顽雨沉风 tags: trunk
13:02
0.0.350 check-in: fe3054fa0e user: 顽雨沉风 tags: trunk
13:00
0.0.348 check-in: b2ed94aae4 user: 顽雨沉风 tags: trunk
Changes

Modified script/c0.lua from [a846a7c541] to [15b8a93958].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
local str = {}

local cache_1
local cache_2

_G["通关邀请"] = function()
  local effect_1
  effect_1 = Effect.GlobalEffect()
  effect_1:SetType(EFFECT_TYPE_FIELD
    + EFFECT_TYPE_CONTINUOUS)
  effect_1: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_1:SetCondition(cache_1)













|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
local str = {}

local cache_1
local cache_2

_G["通关邀请"] = function()
  local effect_1
  effect_1 = Effect.GlobalEffect()
  effect_1:SetType(EFFECT_TYPE_FIELD
    + EFFECT_TYPE_CONTINUOUS)
  effect_1: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_1:SetCondition(cache_1)