游戏王残局简化版

Check-in [89d053c6cd]
Login

Check-in [89d053c6cd]

Overview
Comment:0.0.880
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 89d053c6cd2aed2c067e92d58509d708bd275f94649ab1f2e01c1b172a66d650
User & Date: 顽雨沉风 on 2023-07-07 11:59:13
Other Links: manifest | tags
Context
2023-07-07
12:00
0.0.881 check-in: bd625da610 user: 顽雨沉风 tags: trunk
11:59
0.0.880 check-in: 89d053c6cd user: 顽雨沉风 tags: trunk
11:56
0.0.879 check-in: 52e4f82c0b user: 顽雨沉风 tags: trunk
Changes

Modified single/NH-04.lua from [4754b07b56] to [2ffbe51488].

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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67

68


69

Debug.AddCard(0,0,0,LOCATION_MZONE,-1,POS_FACEUP)


Debug.SetAIName("顽雨沉风")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_PSEUDO_SHUFFLE+DUEL_SIMPLE_AI,4)
Debug.SetPlayerInfo(0,500,0,0)
Debug.SetPlayerInfo(1,30000,0,0)
local c=Debug.AddCard(55948544,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<2 then
    Duel.SendtoHand(c,nil,REASON_RULE)
    Duel.ShuffleHand(tp)
    n=n+1
  else
    if n==10 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(14558127,1,1,LOCATION_HAND,0,POS_FACEDOWN)
local m1=Debug.AddCard(65403020,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(84794011,1,1,LOCATION_DECK,2,POS_FACEUP_ATTACK)
Debug.AddCard(92731455,1,1,LOCATION_DECK,2,POS_FACEUP_ATTACK)
Debug.AddCard(67441435,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
Debug.AddCard(81035362,0,0,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
local m2=Debug.AddCard(86099788,1,1,LOCATION_MZONE,4,POS_FACEUP_ATTACK)
Debug.AddCard(11366199,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
Debug.AddCard(41147577,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(26268488,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
Debug.AddCard(17016362,1,1,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
local s2=Debug.AddCard(38296564,1,1,LOCATION_SZONE,0,POS_FACEUP_ATTACK)

local s1=Debug.AddCard(19508728,0,0,LOCATION_SZONE,2,POS_FACEUP)
Debug.PreEquip(s1,m1)
Debug.AddCard(68462976,1,1,LOCATION_SZONE,5,POS_FACEUP)

Debug.ReloadFieldEnd()
Debug.PreSetTarget(s2, m2)
Debug.ShowHint("这是一个印卡残局,点击对方额外卡组可以发动《法老的审判》打印任意卡。\n只能打印2张卡到手卡,其他8张卡片将被添加到主卡组或额外卡组。")
--~ Debug.ShowHint("只能打印2张卡到手卡,其他8张卡片将被添加到主卡组或额外卡组。")
aux.BeginPuzzle()















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



















|
|




>

>
>

>
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
Debug.AddCard(0,0,0,LOCATION_MZONE,-1,POS_FACEUP)


Debug.SetAIName("顽雨沉风")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_PSEUDO_SHUFFLE+DUEL_SIMPLE_AI,4)
Debug.SetPlayerInfo(0,500,0,0)
Debug.SetPlayerInfo(1,30000,0,0)
local c1=Debug.AddCard(55948544,1,1,LOCATION_EXTRA,0,POS_FACEUP_ATTACK)




























Debug.AddCard(14558127,1,1,LOCATION_HAND,0,POS_FACEDOWN)
local m1=Debug.AddCard(65403020,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(84794011,1,1,LOCATION_DECK,2,POS_FACEUP_ATTACK)
Debug.AddCard(92731455,1,1,LOCATION_DECK,2,POS_FACEUP_ATTACK)
Debug.AddCard(67441435,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
Debug.AddCard(81035362,0,0,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
local m2=Debug.AddCard(86099788,1,1,LOCATION_MZONE,4,POS_FACEUP_ATTACK)
Debug.AddCard(11366199,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
Debug.AddCard(41147577,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(26268488,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
Debug.AddCard(17016362,1,1,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
local s2=Debug.AddCard(38296564,1,1,LOCATION_SZONE,0,POS_FACEUP_ATTACK)

local s1=Debug.AddCard(19508728,0,0,LOCATION_SZONE,2,POS_FACEUP)
Debug.PreEquip(s1,m1)
Debug.AddCard(68462976,1,1,LOCATION_SZONE,5,POS_FACEUP)

Debug.ReloadFieldEnd()


--~ Debug.ShowHint("只能打印2张卡到手卡,其他8张卡片将被添加到主卡组或额外卡组。")
aux.BeginPuzzle()


fun["印卡"](1)

Debug.PreSetTarget(s2, m2)
Debug.ShowHint("这是一个印卡残局,点击对方额外卡组可以发动《法老的审判》打印任意卡。\n只能打印2张卡到手卡,其他8张卡片将被添加到主卡组或额外卡组。")