游戏王残局简化版

Check-in [37deef9bb2]
Login

Check-in [37deef9bb2]

Overview
Comment:0.0.1114
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 37deef9bb2202956bb7b86fe69e252891764e83a29e635d9b958acf76cfcc543
User & Date: 顽雨沉风 on 2023-07-10 16:13:54
Other Links: manifest | tags
Context
2023-07-10
16:14
0.0.1115 check-in: 2d109a8fa0 user: 顽雨沉风 tags: trunk
16:13
0.0.1114 check-in: 37deef9bb2 user: 顽雨沉风 tags: trunk
16:10
0.0.1113 check-in: 80a9d07036 user: 顽雨沉风 tags: trunk
Changes

Modified single/X-LV-50.lua from [7155c5acfd] to [fd3555fc8e].

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
--[[message
卡数:1
规则:新大师
]]
--created by puzzle editor



Debug.SetAIName("顽雨沉风")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,4)
Debug.SetPlayerInfo(0,100,0,0)
Debug.SetPlayerInfo(1,5950,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)


local c16=Debug.AddCard(27288416,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
--~ e16=Effect.CreateEffect(c16)
--~ e16:SetType(EFFECT_TYPE_SINGLE)
--~ e16:SetCode(EFFECT_UPDATE_ATTACK)
--~ e16:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)

<
<


>
>
>





|
<

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







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,100,0,0)
Debug.SetPlayerInfo(1,5950,0,0)

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





























local c16=Debug.AddCard(27288416,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
--~ e16=Effect.CreateEffect(c16)
--~ e16:SetType(EFFECT_TYPE_SINGLE)
--~ e16:SetCode(EFFECT_UPDATE_ATTACK)
--~ e16:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
--~ local c16=Debug.AddCard(33396948,1,1,LOCATION_DECK,2,POS_FACEUP_ATTACK)

Debug.AddCard(20129614,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)

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)

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







<
<
<
<
<
|
|

|


34
35
36
37
38
39
40





41
42
43
44
45
46
--~ local c16=Debug.AddCard(33396948,1,1,LOCATION_DECK,2,POS_FACEUP_ATTACK)

Debug.AddCard(20129614,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)

Debug.ReloadFieldEnd()

aux.BeginPuzzle()





fun["开说明"]()


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