游戏王残局简化版

Check-in [4403912939]
Login

Check-in [4403912939]

Overview
Comment:0.0.1097
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 4403912939b666f7fbc2509ce07a8f1e17c6895878b069dc91d6e3514be90431
User & Date: 顽雨沉风 on 2023-07-10 14:31:20
Other Links: manifest | tags
Context
2023-07-10
14:31
0.0.1098 check-in: 418d819dc9 user: 顽雨沉风 tags: trunk
14:31
0.0.1097 check-in: 4403912939 user: 顽雨沉风 tags: trunk
14:30
0.0.1096 check-in: ca5a18396a user: 顽雨沉风 tags: trunk
Changes

Modified single/X-LV-45.lua from [f6bcb26246] to [6bbb9b088f].

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
--[[message
]]
--By OURYGO-Office
--~ 必须位于残局文件顶部
--~ 加载残局函数库
Debug.AddCard(0,0,0,LOCATION_MZONE,-1,POS_FACEUP)
Debug.SetAIName("顽雨沉风")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,5)
Debug.SetPlayerInfo(0,8000,0,0)
Debug.SetPlayerInfo(1,11600,0,0)

local e0=Effect.GlobalEffect()
e0:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e0:SetCode(EVENT_ADJUST)
e0:SetCountLimit(1)
e0:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(0)>0 end)
e0:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,Card.IsAbleToHand,tp,LOCATION_DECK,0,5,5,nil)
if g:GetCount()>0 then
  Duel.SendtoHand(g,nil,REASON_RULE)
end end)
Duel.RegisterEffect(e0,0)

Debug.AddCard(35659410,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)


Debug.AddCard(08240199,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(53318263,1,1,LOCATION_HAND,0,POS_FACEUP_ATTACK)
local g13=Debug.AddCard(6740720,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
local g11=Debug.AddCard(6740720,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
local m02=Debug.AddCard(41620959,0,0,LOCATION_DECK,2,POS_FACEDOWN)
Debug.AddCard(17751597,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(25451383,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(71039903,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(66961194,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(38517737,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(30576089,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(89631139,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(72378329,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(70534340,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(03322931,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(34995106,0,0,LOCATION_GRAVE,0,POS_FACEUP)Debug.ReloadFieldEnd()


aux.BeginPuzzle()
fun["开局说明"]()












<
<
<
<
<
<
<
<
<
<
<
<



















|

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
--[[message
]]
--By OURYGO-Office
--~ 必须位于残局文件顶部
--~ 加载残局函数库
Debug.AddCard(0,0,0,LOCATION_MZONE,-1,POS_FACEUP)
Debug.SetAIName("顽雨沉风")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,5)
Debug.SetPlayerInfo(0,8000,0,0)
Debug.SetPlayerInfo(1,11600,0,0)













Debug.AddCard(35659410,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)


Debug.AddCard(08240199,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(53318263,1,1,LOCATION_HAND,0,POS_FACEUP_ATTACK)
local g13=Debug.AddCard(6740720,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
local g11=Debug.AddCard(6740720,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
local m02=Debug.AddCard(41620959,0,0,LOCATION_DECK,2,POS_FACEDOWN)
Debug.AddCard(17751597,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(25451383,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(71039903,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(66961194,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(38517737,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(30576089,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(89631139,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(72378329,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(70534340,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(03322931,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(34995106,0,0,LOCATION_GRAVE,0,POS_FACEUP)Debug.ReloadFieldEnd()


aux.BeginPuzzle()
fun["开局添加手卡"](5)