游戏王残局简化版

Check-in [de01b7781c]
Login

Check-in [de01b7781c]

Overview
Comment:0.0.243
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: de01b7781c85cf53ae88310e0cb047a274ec0181d6168399192822fb122e804f
User & Date: 顽雨沉风 on 2023-06-26 00:13:05
Other Links: manifest | tags
Context
2023-06-26
00:13
0.0.244 check-in: 03c37a1f5b user: 顽雨沉风 tags: trunk
00:13
0.0.243 check-in: de01b7781c user: 顽雨沉风 tags: trunk
00:10
0.0.242 check-in: 3b85b0d9d6 user: 顽雨沉风 tags: trunk
Changes

Modified 19.Let's GaGaGa.lua from [7bd29374e2] to [b9933890c6].

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
--[[message
卡数:27
规则:大师3
一起来我我我
]]
Debug.SetAIName("四妹")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,3)
Debug.SetPlayerInfo(0,700,0,0)
Debug.SetPlayerInfo(1,12200,0,0)

local e0=Effect.GlobalEffect()
e0:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e0:SetCode(EVENT_ADJUST)
e0:SetCountLimit(1)
e0:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(0)>0 end)
e0:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,Card.IsAbleToHand,tp,LOCATION_DECK,0,6,6,nil)
if g:GetCount()>0 then
  Duel.SendtoHand(g,nil,REASON_RULE)
end end)
Duel.RegisterEffect(e0,0)

Debug.AddCard(14785765,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(71453557,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(72355441,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(90673413,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(51790181,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(81816475,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(12298909,0,0,LOCATION_DECK,0,POS_FACEDOWN)










<
<
<
<
<
<
<
<
<
<
<
<







1
2
3
4
5
6
7
8
9
10












11
12
13
14
15
16
17
--[[message
卡数:27
规则:大师3
一起来我我我
]]
Debug.SetAIName("四妹")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,3)
Debug.SetPlayerInfo(0,700,0,0)
Debug.SetPlayerInfo(1,12200,0,0)













Debug.AddCard(14785765,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(71453557,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(72355441,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(90673413,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(51790181,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(81816475,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(12298909,0,0,LOCATION_DECK,0,POS_FACEDOWN)
47
48
49
50
51
52
53
54
55

56
57
58
59
60
61
62
Debug.AddCard(89631139,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
local g1=Debug.AddCard(66235877,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
g1:CompleteProcedure()
Debug.AddCard(44095762,1,1,LOCATION_SZONE,1,POS_FACEDOWN)
Debug.AddCard(44095762,1,1,LOCATION_SZONE,2,POS_FACEDOWN)
Debug.AddCard(44095762,1,1,LOCATION_SZONE,3,POS_FACEDOWN)
Debug.ReloadFieldEnd()
Debug.ShowHint("从卡组中选择六张卡加入手卡!")
aux.BeginPuzzle()

local str = {}
local fun = {}

local cache_1

fun["通关邀请"] = function()
  local effect_100







<

>







35
36
37
38
39
40
41

42
43
44
45
46
47
48
49
50
Debug.AddCard(89631139,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
local g1=Debug.AddCard(66235877,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
g1:CompleteProcedure()
Debug.AddCard(44095762,1,1,LOCATION_SZONE,1,POS_FACEDOWN)
Debug.AddCard(44095762,1,1,LOCATION_SZONE,2,POS_FACEDOWN)
Debug.AddCard(44095762,1,1,LOCATION_SZONE,3,POS_FACEDOWN)
Debug.ReloadFieldEnd()

aux.BeginPuzzle()

local str = {}
local fun = {}

local cache_1

fun["通关邀请"] = function()
  local effect_100
81
82
83
84
85
86
87
88







































89


    Debug.ShowHint("残局群181175613")
    return
    end
  effect_100:SetOperation(cache_1)
  Duel.RegisterEffect(effect_100
    , 0)
  end








































fun["通关邀请"]()










>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>

>
>
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
    Debug.ShowHint("残局群181175613")
    return
    end
  effect_100:SetOperation(cache_1)
  Duel.RegisterEffect(effect_100
    , 0)
  end

fun["开局添加手卡"] = function(str_1)
  local effect_101
  effect_101 = Effect.GlobalEffect()
  effect_101:SetType(EFFECT_TYPE_FIELD
    + EFFECT_TYPE_CONTINUOUS)
  effect_101:SetCode(EVENT_ADJUST)
  effect_101:SetCountLimit(1)
  function cache_1()
    cache_1 = Duel.GetLP(0)
    if cache_1 > 0 then
      cache_1 = true
    else
      cache_1 = false
      end
    return cache_1
    end
  effect_101:SetCondition(cache_1)
  function cache_1(effect_event
    , player_who_activate_the_effect)
    cache_1 = Duel.SelectMatchingCard(player_who_activate_the_effect
       , Card.IsAbleToHand
       , player_who_activate_the_effect
       , LOCATION_DECK
       , 0
       , str_1
       , str_1
       , nil)
    cache_1 = cache_1::GetCount()
    if cache_1 > 0 then
      Duel.SendtoHand(cache_1
        , nil
        , REASON_RULE)
      end
    end
  effect_101:SetOperation(cache_1)
  Duel.RegisterEffect(effect_101
    , 0)
  end

fun["通关邀请"]()
fun["开局添加手卡"](6)

Modified 残局函数库/残局函数库.lua from [a694b45404] to [60ec66adda].

62
63
64
65
66
67
68



69
70
71


    cache_1 = cache_1::GetCount()
    if cache_1 > 0 then
      Duel.SendtoHand(cache_1
        , nil
        , REASON_RULE)
      end
    end



  end

fun["通关邀请"]()









>
>
>



>
>
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
    cache_1 = cache_1::GetCount()
    if cache_1 > 0 then
      Duel.SendtoHand(cache_1
        , nil
        , REASON_RULE)
      end
    end
  effect_101:SetOperation(cache_1)
  Duel.RegisterEffect(effect_101
    , 0)
  end

fun["通关邀请"]()
fun["开局添加手卡"](1)