游戏王残局简化版

Check-in [8736d64183]
Login

Check-in [8736d64183]

Overview
Comment:0.0.1215
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 8736d64183e6296b061f96c99651022eb5e030e5a33424b2d1b9af56d495497a
User & Date: 顽雨沉风 on 2023-07-11 14:33:50
Other Links: manifest | tags
Context
2023-07-11
14:36
0.0.1216 check-in: 3cb69d58d8 user: 顽雨沉风 tags: trunk
14:33
0.0.1215 check-in: 8736d64183 user: 顽雨沉风 tags: trunk
14:23
0.0.1214 check-in: 5744929923 user: 顽雨沉风 tags: trunk
Changes

Modified script/c0.lua from [a47e406764] to [50687636ad].

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
35
36
37
38
39


40
41

42
43

44
45

46
47

48
49
50

51
52

53
54
55
56
57
58
59
60
str = {}
fun = {}

str["Debug.ReloadFieldBegin"] = Debug.ReloadFieldBegin

Debug.ReloadFieldBegin = function(str_1, str_2) --{
  str["不洗牌"] = str_1 & DUEL_PSEUDO_SHUFFLE
  
  str["无BP"] = str_1 & DUEL_ATTACK_FIRST_TURN
  
  if str_2 then --{
    if str_2 == 3 then --{
      str["规则"] = "大师3 "

      --}
    elseif str_2 == 4 then --{
      str["规则"] = "新大师 "

      --}
    elseif str_2 == 5 then --{
      str["规则"] = "大师2020 "

      --}
    end --}
  else
  str["规则"] = "大师2020 "

  end
  str["Debug.ReloadFieldBegin"](str_1, str_2)

  end --}
















fun["通关邀请"] = function()
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
if cache_1 < 0 then
Debug.ShowHint("QB:「你居然二解了,请加群告诉我怎么二解。」")
end
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

fun["是否效果卡"] = function(card)
cache_1 = Card.IsType(card, TYPE_SPELL)
cache_2 = Card.IsType(card, TYPE_TRAP)
cache_3 = Card.IsType(card, TYPE_EFFECT)
if cache_1
or cache_2













>



>



>


|
|
>
|

>

>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
<
<
<
<
<
<
<
<
<
<
|
|
>
>
|
|
>
|
|
>
|
|
>
|
|
>
|
|
|
>
|
|
>
|







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
35
36
37
38
39
40
41
42
43
44
45
46
47










48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
str = {}
fun = {}

str["Debug.ReloadFieldBegin"] = Debug.ReloadFieldBegin

Debug.ReloadFieldBegin = function(str_1, str_2) --{
  str["不洗牌"] = str_1 & DUEL_PSEUDO_SHUFFLE
  
  str["无BP"] = str_1 & DUEL_ATTACK_FIRST_TURN
  
  if str_2 then --{
    if str_2 == 3 then --{
      str["规则"] = "大师3 "
      
      --}
    elseif str_2 == 4 then --{
      str["规则"] = "新大师 "
      
      --}
    elseif str_2 == 5 then --{
      str["规则"] = "大师2020 "
      
      --}
    end --}
  else --{
    str["规则"] = "大师2020 "
    
    end --}
  str["Debug.ReloadFieldBegin"](str_1, str_2)
  
  end --}

fun["通关邀请"] = function() --{
  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 --{
      if cache_1 < 0 then --{
        Debug.ShowHint("QB:「你居然二解了,请加群告诉我怎么二解。」")
        










        end --}
      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 --}

fun["是否效果卡"] = function(card)
cache_1 = Card.IsType(card, TYPE_SPELL)
cache_2 = Card.IsType(card, TYPE_TRAP)
cache_3 = Card.IsType(card, TYPE_EFFECT)
if cache_1
or cache_2
248
249
250
251
252
253
254






255
256
257
258
Duel.SetLP(1,0)
end

effect_1:SetOperation(cache_1)

Duel.RegisterEffect(effect_1,0)
end

















>
>
>
>
>
>




266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
Duel.SetLP(1,0)
end

effect_1:SetOperation(cache_1)

Duel.RegisterEffect(effect_1,0)
end