游戏王残局简化版

Check-in [532491569d]
Login

Check-in [532491569d]

Overview
Comment:0.0.957
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 532491569d4f76b976b574d60560f48afaf0723b85abbbe0ffab49a424b4491f
User & Date: 顽雨沉风 on 2023-07-08 15:17:03
Other Links: manifest | tags
Context
2023-07-08
15:18
0.0.958 check-in: 99f680b338 user: 顽雨沉风 tags: trunk
15:17
0.0.957 check-in: 532491569d user: 顽雨沉风 tags: trunk
15:07
0.0.956 check-in: 39412d41e1 user: 顽雨沉风 tags: trunk
Changes

Modified single/sample1.lua from [312022d7b0] to [7704bb9d98].

1
2
3
4
5







6
7
8
9
10
11
12
1


2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

-
-


+
+
+
+
+
+
+







--[[message
卡数:6
规则:大师2020
游戏王基本操作
]]


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


Debug.SetAIName("sample1")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,5)
Debug.SetPlayerInfo(0,100,0,0)
Debug.SetPlayerInfo(1,1500,0,0)

Debug.AddCard(89943723,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)

23
24
25
26
27
28
29
30
31
32
33
34
35

36
28
29
30
31
32
33
34






35








-
-
-
-
-
-
+
-

Debug.AddCard(70342110,1,1,LOCATION_SZONE,2,POS_FACEDOWN)
Debug.AddCard(97077563,1,1,LOCATION_SZONE,3,POS_FACEDOWN)

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)
fun["开说明"]()
Duel.RegisterEffect(e999,0)