游戏王残局简化版

Check-in [edfc81dcfd]
Login

Check-in [edfc81dcfd]

Overview
Comment:0.0.338
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: edfc81dcfd950b01b6e4efe2c5ea4568521c5b864080ddaab4a93fd063b6cc98
User & Date: 顽雨沉风 on 2023-06-29 12:38:16
Other Links: manifest | tags
Context
2023-06-29
12:40
0.0.339 check-in: a855d3a3c7 user: 顽雨沉风 tags: trunk
12:38
0.0.338 check-in: edfc81dcfd user: 顽雨沉风 tags: trunk
12:34
0.0.337 check-in: ddbb1e3030 user: 顽雨沉风 tags: trunk
Changes

Modified script/c0.lua from [0f2199f944] to [50f2fb7623].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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)
  function cache_1()
    Debug.ShowHint("残局群181175613")
    Duel.SelectYesNo(0,1160)
    return
    end
  effect_1:SetOperation(cache_1)

  Duel.RegisterEffect(effect_1
    , 0)
--~   Effect.SetDescription(effect_1, 1160)
--~   Debug.ShowHint(Effect.GetDescription(effect_1))

  end













|









<






<
<
<

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

24
25
26
27
28
29



30
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)
  function cache_1()
    Debug.ShowHint("残局群181175613")

    return
    end
  effect_1:SetOperation(cache_1)

  Duel.RegisterEffect(effect_1
    , 0)



  end