游戏王残局简化版

Check-in [4356441c62]
Login

Check-in [4356441c62]

Overview
Comment:0.0.791
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 4356441c6276050390f80e08c9d7bde173c554dc7b620d470bdc57ea6f373328
User & Date: 顽雨沉风 on 2023-07-07 02:11:32
Other Links: manifest | tags
Context
2023-07-07
02:20
0.0.792 check-in: 2d58d863f0 user: 顽雨沉风 tags: trunk
02:11
0.0.791 check-in: 4356441c62 user: 顽雨沉风 tags: trunk
02:06
0.0.790 check-in: 126218d834 user: 顽雨沉风 tags: trunk
Changes

Modified single/MH01.lua from [458ec3de6d] to [a59fa4ae5a].

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
1

2

3
4
5
6
7
8
9
10
11












12
13
14
15
16
17
18

-
+
-

+
+
+





-
-
-
-
-
-
-
-
-
-
-
-







--[[message
卡数:19
魔轰神
规则:大师2020
]]



Debug.SetAIName("棉花")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,5)
Debug.SetPlayerInfo(0,100,0,0)
Debug.SetPlayerInfo(1,13400,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(18282103,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(82888408,0,0,LOCATION_DECK,3,POS_FACEUP_ATTACK)
Debug.AddCard(24040093,0,0,LOCATION_DECK,4,POS_FACEUP_ATTACK)
Debug.AddCard(82888408,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(97439806,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(97439806,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
Debug.AddCard(57421866,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69


70
71
72
73
74
75
76
34
35
36
37
38
39
40








41







42


43
44














-
-
-
-
-
-
-
-

-
-
-
-
-
-
-

-
-
+
+
-
-
-
-
-
-
-
local m12=Debug.AddCard(90660762,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
Debug.AddCard(19665973,1,1,LOCATION_HAND,3,POS_FACEUP_ATTACK)
Debug.AddCard(89631139,1,1,LOCATION_HAND,4,POS_FACEUP_ATTACK)


Debug.ReloadFieldEnd()

local e1=Effect.GlobalEffect()
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_USE_EXTRA_MZONE)
e1:SetValue(1)
Duel.RegisterEffect(e1,0)

Debug.ShowHint("从卡组中选择五张卡加入手卡!")

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)



fun["禁格"](1)
fun["开局添加手卡"](5)
--~ 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("提示:等级偷窃虫") end)
--~ Duel.RegisterEffect(e1,0)