游戏王残局简化版

Check-in [ddbb1e3030]
Login

Check-in [ddbb1e3030]

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

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

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
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)
--~   Effect.SetDescription(effect_1, 1160)
--~   Debug.ShowHint(Effect.GetDescription(effect_1))
  Duel.SelectYesNo(0,1160)
  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
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

Modified single/07.Constellar vs Evilswarm.lua from [ea91dac34e] to [2afaa19352].

25
26
27
28
29
30
31

Debug.AddCard(77542832,1,1,LOCATION_MZONE,3,POS_FACEUP)
--~ 加载残局函数库
Debug.AddCard(0,0,0,LOCATION_MZONE,-1,POS_FACEUP)
Debug.ReloadFieldEnd()
aux.BeginPuzzle()

_G["通关邀请"]()








>
25
26
27
28
29
30
31
32
Debug.AddCard(77542832,1,1,LOCATION_MZONE,3,POS_FACEUP)
--~ 加载残局函数库
Debug.AddCard(0,0,0,LOCATION_MZONE,-1,POS_FACEUP)
Debug.ReloadFieldEnd()
aux.BeginPuzzle()

_G["通关邀请"]()