游戏王残局简化版

Check-in [3a0aec0a54]
Login

Check-in [3a0aec0a54]

Overview
Comment:0.0.947
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 3a0aec0a54b8c852f473a69fb3651ba5b418b6edac6d2f631d01167331f2bf49
User & Date: 顽雨沉风 on 2023-07-07 23:19:59
Other Links: manifest | tags
Context
2023-07-07
23:20
0.0.948 check-in: 9bbf226135 user: 顽雨沉风 tags: trunk
23:19
0.0.947 check-in: 3a0aec0a54 user: 顽雨沉风 tags: trunk
23:15
0.0.946 check-in: 07067191cc user: 顽雨沉风 tags: trunk
Changes

Modified single/QB058.lua from [b5d48c7ba3] to [aaa8970a46].

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








-
-

+
+
+
+
+
+









-
+
-
-
-
-
-
-



-
+
-
-
-
-
-
-



















-
+
-
-
-
-
-
-
-
--[[message
卡数:19
规则:大师3
]]


--~ 必须位于残局文件顶部
--~ 加载残局函数库
Debug.AddCard(0,0,0,LOCATION_MZONE,-1,POS_FACEUP)

Debug.SetAIName("QB058")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,3)
Debug.SetPlayerInfo(0,1100,0,0)
Debug.SetPlayerInfo(1,7100,0,0)

Debug.AddCard(85682655,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(53540729,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(12299841,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(53540729,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
local c1=Debug.AddCard(71594310,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
local c1=Debug.AddCard(68597372,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
e1=Effect.CreateEffect(c1)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SET_ATTACK)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetValue(2500)
c1:RegisterEffect(e1)
Debug.AddCard(47805931,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(81122844,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(77334267,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
local c2=Debug.AddCard(71594310,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
local c2=Debug.AddCard(84013237,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
e2=Effect.CreateEffect(c2)
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_SET_ATTACK)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e2:SetValue(2500)
c2:RegisterEffect(e2)
Debug.AddCard(25789292,0,0,LOCATION_SZONE,1,POS_FACEDOWN_ATTACK)
Debug.AddCard(12299841,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(95714077,0,0,LOCATION_SZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(80604091,0,0,LOCATION_SZONE,3,POS_FACEDOWN_ATTACK)
Debug.AddCard(29999161,0,0,LOCATION_SZONE,4,POS_FACEDOWN_ATTACK)
Debug.AddCard(59297550,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)
Debug.AddCard(25484449,0,0,LOCATION_HAND,1,POS_FACEUP_ATTACK)
Debug.AddCard(16923472,0,0,LOCATION_HAND,2,POS_FACEUP_ATTACK)
Debug.AddCard(57962537,0,0,LOCATION_HAND,3,POS_FACEUP_ATTACK)
Debug.AddCard(79759861,0,0,LOCATION_HAND,4,POS_FACEUP_ATTACK)
Debug.AddCard(61011311,0,0,LOCATION_HAND,5,POS_FACEUP_ATTACK)
Debug.AddCard(89631139,1,1,LOCATION_HAND,5,POS_FACEUP_ATTACK)
Debug.AddCard(89631139,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
Debug.AddCard(89631139,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(44947065,1,1,LOCATION_SZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(89631139,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
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)
Debug.ShowHint("珍珠的攻击力已设置成2500!")