游戏王残局简化版

Check-in [743117fa35]
Login

Check-in [743117fa35]

Overview
Comment:0.0.606
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 743117fa356fe72d2c8d3cc7293a26f78b5c33c9a2eeac410540d319287a98cd
User & Date: 顽雨沉风 on 2023-07-04 15:56:42
Other Links: manifest | tags
Context
2023-07-04
16:02
0.0.607 check-in: 53bc6e0290 user: 顽雨沉风 tags: trunk
15:56
0.0.606 check-in: 743117fa35 user: 顽雨沉风 tags: trunk
15:54
0.0.605 check-in: 0126d6b4ae user: 顽雨沉风 tags: trunk
Changes

Modified single/35.Pendulum's Variety Summon.lua from [3a406c5266] to [8be22214f7].

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
8
9
10
11
12
13
14












15
16
17
18
19
20
21







-
-
-
-
-
-
-
-
-
-
-
-









Debug.SetAIName("四妹")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,3)
Debug.SetPlayerInfo(0,500,0,0)
Debug.SetPlayerInfo(1,32200,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(12014404,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(17016362,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(16195942,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(79606837,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(36898537,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(82044279,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(18239909,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
85
86
87
88
89
90
91
92
93


94
95
96
97

98

73
74
75
76
77
78
79


80
81




82

83







-
-
+
+
-
-
-
-
+
-
+
Debug.AddCard(84136000,1,1,LOCATION_SZONE,1,POS_FACEDOWN)
Debug.AddCard(67630339,1,1,LOCATION_SZONE,2,POS_FACEDOWN)
Debug.AddCard(13166648,1,1,LOCATION_SZONE,3,POS_FACEDOWN)
Debug.AddCard(79766336,1,1,LOCATION_SZONE,4,POS_FACEDOWN)
Debug.AddCard(1127737,1,1,LOCATION_SZONE,5,POS_FACEUP)
Debug.ReloadFieldEnd()
aux.BeginPuzzle()
local e999=Effect.GlobalEffect()
e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)


e999:SetCode(EVENT_DAMAGE)
e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
Debug.ShowHint("残局群181175613") end)
--~ 必须位于残局文件底部
Duel.RegisterEffect(e999,0)
fun["开局添加手卡"](6)