游戏王残局简化版

Check-in [9c91dc1bcc]
Login

Check-in [9c91dc1bcc]

Overview
Comment:0.0.1079
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 9c91dc1bcc1a00125eca300e0c1d69695d229d3a403b6e51943c0b7aa2edbc5c
User & Date: 顽雨沉风 on 2023-07-10 09:58:00
Other Links: manifest | tags
Context
2023-07-10
11:42
0.0.1080 check-in: 68a4a95ec9 user: 顽雨沉风 tags: trunk
09:58
0.0.1079 check-in: 9c91dc1bcc user: 顽雨沉风 tags: trunk
09:55
0.0.1078 check-in: d6250d7b43 user: 顽雨沉风 tags: trunk
Changes

Modified single/X-LV-30.lua from [c9d38cfb4a] to [6c829b241a].

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
--[[message
卡数:6
规则:新大师
]]
--By OURYGO-YGO EZ manager



Debug.SetAIName("顽雨沉风")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,4)
Debug.SetPlayerInfo(0,8000,0,0)
Debug.SetPlayerInfo(1,3900,0,0)
Debug.AddCard(38395123,0,0,LOCATION_DECK,0,POS_FACEDOWN)
--~ Debug.AddCard(25290459,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(90500169,0,0,LOCATION_HAND,0,POS_FACEDOWN)
local g02=Debug.AddCard(46384672,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
local g12=Debug.AddCard(49888191,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
--~ local m02=Debug.AddCard(11741041,0,0,LOCATION_SZONE,2,POS_FACEUP)
Debug.AddCard(75884822,0,0,LOCATION_SZONE,3,POS_FACEDOWN)
--~ Debug.AddCard(70865988,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
local c0=Debug.AddCard(90011152,0,0,LOCATION_SZONE,5,POS_FACEUP)
Debug.AddCard(79335209,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)
Debug.AddCard(42941100,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)
Debug.AddCard(12482652,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)
Debug.AddCard(980973,0,0,LOCATION_GRAVE,0,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)


local e1=Effect.GlobalEffect()
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_PHASE_START+PHASE_END)
e1:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetTurnPlayer()==0 end)
e1:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
Debug.ShowHint("其实这局最多只能打3900血。") end)
Duel.RegisterEffect(e1,0)

|
|


>
>
>



















<
<
<
<
<
<
<
|

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







--[[message
最后一个且尤为特殊的新手教学
➤莫勉强
]]
--By OURYGO-YGO EZ manager
--~ 必须位于残局文件顶部
--~ 加载残局函数库
Debug.AddCard(0,0,0,LOCATION_MZONE,-1,POS_FACEUP)
Debug.SetAIName("顽雨沉风")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,4)
Debug.SetPlayerInfo(0,8000,0,0)
Debug.SetPlayerInfo(1,3900,0,0)
Debug.AddCard(38395123,0,0,LOCATION_DECK,0,POS_FACEDOWN)
--~ Debug.AddCard(25290459,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(90500169,0,0,LOCATION_HAND,0,POS_FACEDOWN)
local g02=Debug.AddCard(46384672,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
local g12=Debug.AddCard(49888191,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
--~ local m02=Debug.AddCard(11741041,0,0,LOCATION_SZONE,2,POS_FACEUP)
Debug.AddCard(75884822,0,0,LOCATION_SZONE,3,POS_FACEDOWN)
--~ Debug.AddCard(70865988,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
local c0=Debug.AddCard(90011152,0,0,LOCATION_SZONE,5,POS_FACEUP)
Debug.AddCard(79335209,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)
Debug.AddCard(42941100,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)
Debug.AddCard(12482652,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)
Debug.AddCard(980973,0,0,LOCATION_GRAVE,0,POS_FACEUP)
Debug.ReloadFieldEnd()
aux.BeginPuzzle()







fun["开局说明"]()