游戏王残局简化版

Check-in [6d8c9b85c5]
Login

Check-in [6d8c9b85c5]

Overview
Comment:0.0.960
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 6d8c9b85c5630f63a3e1016b157b360c55667d2e3f3b387d520b0eaf71804de3
User & Date: 顽雨沉风 on 2023-07-08 15:22:32
Other Links: manifest | tags
Context
2023-07-08
15:26
0.0.961 check-in: 1258e9f19c user: 顽雨沉风 tags: trunk
15:22
0.0.960 check-in: 6d8c9b85c5 user: 顽雨沉风 tags: trunk
15:18
0.0.958 check-in: 99f680b338 user: 顽雨沉风 tags: trunk
Changes

Modified single/sample2.lua from [f11b0ce377] to [4d5924d078].

1
2
3
4
5






6
7
8
9
10
11
12
--[[message
卡数:8
规则:大师2020
同调召唤入门
]]






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

Debug.AddCard(00027551,0,0,LOCATION_SZONE,2,POS_FACEDOWN)


<
<


>
>
>
>
>
>







1


2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--[[message


同调召唤入门
]]

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


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

Debug.AddCard(00027551,0,0,LOCATION_SZONE,2,POS_FACEDOWN)

24
25
26
27
28
29
30
31
32
33
34
35
36
37
Debug.AddCard(34408491,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(16527176,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)







<
<
<
<
<
|
<
28
29
30
31
32
33
34





35

Debug.AddCard(34408491,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(16527176,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)

Debug.ReloadFieldEnd()

aux.BeginPuzzle()






fun["开说明"]()