游戏王残局简化版

Check-in [47fc644db4]
Login

Check-in [47fc644db4]

Overview
Comment:0.0.1107
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 47fc644db485f863480d867b2f5dbc051634f41274cac854cf2e9dad77542deb
User & Date: 顽雨沉风 on 2023-07-10 15:59:20
Other Links: manifest | tags
Context
2023-07-10
16:01
0.0.1108 check-in: 1519bf323f user: 顽雨沉风 tags: trunk
15:59
0.0.1107 check-in: 47fc644db4 user: 顽雨沉风 tags: trunk
15:58
0.0.1106 check-in: 013f7d7163 user: 顽雨沉风 tags: trunk
Changes

Modified single/X-LV-47.lua from [57287322ff] to [a3b8842770].

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
45
46
47
--[[message
个十百千万?
]]
--created by puzzle editor
--~ 必须位于残局文件顶部
--~ 加载残局函数库
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,621543,0,0)
Debug.SetPlayerInfo(1,231370,0,0)

local c=Debug.AddCard(5758500,1,1,LOCATION_EXTRA,0,POS_FACEUP_ATTACK)
local n=0

function print_hand(e,tp,eg,ep,ev,re,r,rp)
  local ac=Duel.AnnounceCard(tp)
  local c=Duel.CreateToken(tp,ac)
  if n<1 then
    Duel.SendtoHand(c,nil,REASON_RULE)
    Duel.ShuffleHand(tp)
    n=n+1
  else
    if n==1 then
      Debug.ShowHint("印卡过多,审判降临!")
      Duel.SetLP(0,0)
    else
      n=n+1
      Duel.Remove(c,POS_FACEUP,REASON_RULE)
      Duel.SendtoDeck(c,tp,0,REASON_RULE)
    end
  end
end

local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_BOTH_SIDE)
e1:SetRange(LOCATION_EXTRA)
e1:SetOperation(print_hand)
c:RegisterEffect(e1)

Debug.AddCard(77622396,0,0,LOCATION_SZONE,1,POS_FACEDOWN_ATTACK)
Debug.AddCard(49658464,0,0,LOCATION_SZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(22205600,0,0,LOCATION_SZONE,3,POS_FACEDOWN_ATTACK)

Debug.AddCard(13758665,1,1,LOCATION_SZONE,1,POS_FACEUP_ATTACK)
Debug.AddCard(51452091,1,1,LOCATION_SZONE,3,POS_FACEUP_ATTACK)












|
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<







1
2
3
4
5
6
7
8
9
10
11
12
13



























14
15
16
17
18
19
20
--[[message
个十百千万?
]]
--created by puzzle editor
--~ 必须位于残局文件顶部
--~ 加载残局函数库
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,621543,0,0)
Debug.SetPlayerInfo(1,231370,0,0)

local c1=Debug.AddCard(5758500,1,1,LOCATION_EXTRA,0,POS_FACEUP_ATTACK)




























Debug.AddCard(77622396,0,0,LOCATION_SZONE,1,POS_FACEDOWN_ATTACK)
Debug.AddCard(49658464,0,0,LOCATION_SZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(22205600,0,0,LOCATION_SZONE,3,POS_FACEDOWN_ATTACK)

Debug.AddCard(13758665,1,1,LOCATION_SZONE,1,POS_FACEUP_ATTACK)
Debug.AddCard(51452091,1,1,LOCATION_SZONE,3,POS_FACEUP_ATTACK)
139
140
141
142
143
144
145


146
147
148
149
150
151
Debug.AddCard(7562372,1,1,LOCATION_DECK,4,POS_FACEDOWN)
Debug.AddCard(7562372,1,1,LOCATION_DECK,4,POS_FACEDOWN)
Debug.AddCard(7562372,1,1,LOCATION_DECK,4,POS_FACEDOWN)


Debug.ReloadFieldEnd()
aux.BeginPuzzle()


fun["开局说明"]()


Debug.ShowHint("这是一个印卡残局,点击对方额外卡组可以发动「魂之解放」打印任意卡!\n只能打印 1 张卡到手卡或额外卡组!\n部分怪兽攻守已改变!")
--~ Debug.ShowHint("只能打印1张卡到手卡或额外卡组!")
--~ Debug.ShowHint("场上的怪兽攻击力已改变!")







>
>






112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
Debug.AddCard(7562372,1,1,LOCATION_DECK,4,POS_FACEDOWN)
Debug.AddCard(7562372,1,1,LOCATION_DECK,4,POS_FACEDOWN)
Debug.AddCard(7562372,1,1,LOCATION_DECK,4,POS_FACEDOWN)


Debug.ReloadFieldEnd()
aux.BeginPuzzle()

fun["印卡"](c1,1)
fun["开局说明"]()


Debug.ShowHint("这是一个印卡残局,点击对方额外卡组可以发动「魂之解放」打印任意卡!\n只能打印 1 张卡到手卡或额外卡组!\n部分怪兽攻守已改变!")
--~ Debug.ShowHint("只能打印1张卡到手卡或额外卡组!")
--~ Debug.ShowHint("场上的怪兽攻击力已改变!")