游戏王残局简化版

Check-in [dfac16a1ef]
Login

Check-in [dfac16a1ef]

Overview
Comment:0.0.702
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: dfac16a1eff5b96e0966871340c208dbb812994d42210ea30abfd94e830b1b62
User & Date: 顽雨沉风 on 2023-07-05 10:02:42
Other Links: manifest | tags
Context
2023-07-05
10:11
0.0.703 check-in: 64b3263ef5 user: 顽雨沉风 tags: trunk
10:02
0.0.702 check-in: dfac16a1ef user: 顽雨沉风 tags: trunk
09:58
0.0.701 check-in: ed72f20f56 user: 顽雨沉风 tags: trunk
Changes

Modified single/AlphaKretin_02_Set_Rotation.lua from [b8bb81a2cd] to [fd1b7b9187].

1
2
3
4
5





6
7
8
9
10
11
12
--[[message
卡数:20
规则:新大师
Field spells are fun, right?
]]





Debug.SetAIName("AlphaKretin")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,4)

Debug.SetPlayerInfo(0,1000,0,0)
Debug.SetPlayerInfo(1,3000,0,0)

--AI's field.

<
<


>
>
>
>
>







1


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


Field spells are fun, right?
]]

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

Debug.SetAIName("AlphaKretin")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,4)

Debug.SetPlayerInfo(0,1000,0,0)
Debug.SetPlayerInfo(1,3000,0,0)

--AI's field.
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
Debug.AddCard(85668449,0,0,LOCATION_DECK,0,POS_FACEDOWN) --Brain Lab

--Player's GY
Debug.AddCard(5133471,0,0,LOCATION_GRAVE,0,POS_FACEUP) --Galaxy Cyclone
Debug.AddCard(58695102,0,0,LOCATION_GRAVE,0,POS_FACEUP) --Recover

Debug.ReloadFieldEnd()
--~ Debug.ShowHint("Win in one turn!")
--Below makes it a one turn puzzle.
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)







<
<

|
<
<
<
<
|
<
53
54
55
56
57
58
59


60
61




62

Debug.AddCard(85668449,0,0,LOCATION_DECK,0,POS_FACEDOWN) --Brain Lab

--Player's GY
Debug.AddCard(5133471,0,0,LOCATION_GRAVE,0,POS_FACEUP) --Galaxy Cyclone
Debug.AddCard(58695102,0,0,LOCATION_GRAVE,0,POS_FACEUP) --Recover

Debug.ReloadFieldEnd()


aux.BeginPuzzle()





fun["开说明"]()