Lines of
single/X-LV-47.lua
from check-in f27b011394
that are changed by the sequence of edits moving toward
check-in c3a7fcc4d9:
1: --[[message
f27b011394 2023-07-10 2: 规则:新大师
3: 个十百千万?
4: ]]
5: --created by puzzle editor
6: --~ 必须位于残局文件顶部
7: --~ 加载残局函数库
8: Debug.AddCard(0,0,0,LOCATION_MZONE,-1,POS_FACEUP)
9: Debug.SetAIName("顽雨沉风")
10: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,4)
11: Debug.SetPlayerInfo(0,621543,0,0)
12: Debug.SetPlayerInfo(1,231370,0,0)
13:
14: local c=Debug.AddCard(5758500,1,1,LOCATION_EXTRA,0,POS_FACEUP_ATTACK)
15: local n=0
16:
17: function print_hand(e,tp,eg,ep,ev,re,r,rp)
18: local ac=Duel.AnnounceCard(tp)
19: local c=Duel.CreateToken(tp,ac)
20: if n<1 then
21: Duel.SendtoHand(c,nil,REASON_RULE)
22: Duel.ShuffleHand(tp)
23: n=n+1
24: else
25: if n==1 then
26: Debug.ShowHint("印卡过多,审判降临!")
27: Duel.SetLP(0,0)
28: else
29: n=n+1
30: Duel.Remove(c,POS_FACEUP,REASON_RULE)
31: Duel.SendtoDeck(c,tp,0,REASON_RULE)
32: end
33: end
34: end
35:
36: local e1=Effect.CreateEffect(c)
37: e1:SetType(EFFECT_TYPE_IGNITION)
38: e1:SetProperty(EFFECT_FLAG_BOTH_SIDE)
39: e1:SetRange(LOCATION_EXTRA)
40: e1:SetOperation(print_hand)
41: c:RegisterEffect(e1)
42:
43: Debug.AddCard(77622396,0,0,LOCATION_SZONE,1,POS_FACEDOWN_ATTACK)
44: Debug.AddCard(49658464,0,0,LOCATION_SZONE,2,POS_FACEUP_ATTACK)
45: Debug.AddCard(22205600,0,0,LOCATION_SZONE,3,POS_FACEDOWN_ATTACK)
46:
47: Debug.AddCard(13758665,1,1,LOCATION_SZONE,1,POS_FACEUP_ATTACK)
48: Debug.AddCard(51452091,1,1,LOCATION_SZONE,3,POS_FACEUP_ATTACK)
49:
50:
51: local c11=Debug.AddCard(79182538,1,1,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
52: e11=Effect.CreateEffect(c11)
53: e11:SetType(EFFECT_TYPE_SINGLE)
54: e11:SetCode(EFFECT_UPDATE_ATTACK)
55: e11:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
56: e11:SetValue(1156)
57: c11:RegisterEffect(e11)
58: local c12=Debug.AddCard(77603950,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
59: e12=Effect.CreateEffect(c12)
60: e12:SetType(EFFECT_TYPE_SINGLE)
61: e12:SetCode(EFFECT_UPDATE_ATTACK)
62: e12:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
63: e12:SetValue(1252)
64: c12:RegisterEffect(e12)
65: local c13=Debug.AddCard(89631139,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
66: e13=Effect.CreateEffect(c13)
67: e13:SetType(EFFECT_TYPE_SINGLE)
68: e13:SetCode(EFFECT_UPDATE_ATTACK)
69: e13:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
70: e13:SetValue(1698)
71: c13:RegisterEffect(e13)
72: local c14=Debug.AddCard(6367785,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
73: e14=Effect.CreateEffect(c14)
74: e14:SetType(EFFECT_TYPE_SINGLE)
75: e14:SetCode(EFFECT_UPDATE_ATTACK)
76: e14:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
77: e14:SetValue(652)
78: c14:RegisterEffect(e14)
79: local c15=Debug.AddCard(26268488,1,1,LOCATION_MZONE,4,POS_FACEUP_ATTACK)
80: e15=Effect.CreateEffect(c15)
81: e15:SetType(EFFECT_TYPE_SINGLE)
82: e15:SetCode(EFFECT_UPDATE_ATTACK)
83: e15:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
84: e15:SetValue(254)
85: c15:RegisterEffect(e15)
86: local c16=Debug.AddCard(27134689,1,1,LOCATION_MZONE,5,POS_FACEUP_ATTACK)
87: e16=Effect.CreateEffect(c16)
88: e16:SetType(EFFECT_TYPE_SINGLE)
89: e16:SetCode(EFFECT_UPDATE_ATTACK)
90: e16:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
91: e16:SetValue(800)
92: c16:RegisterEffect(e16)
93:
94: local c21=Debug.AddCard(99645428,0,0,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
95: e21=Effect.CreateEffect(c21)
96: e21:SetType(EFFECT_TYPE_SINGLE)
97: e21:SetCode(EFFECT_UPDATE_ATTACK)
98: e21:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
99: e21:SetValue(-21565)
100: c21:RegisterEffect(e21)
101: local c22=Debug.AddCard(46986414,0,0,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
102: e22=Effect.CreateEffect(c22)
103: e22:SetType(EFFECT_TYPE_SINGLE)
104: e22:SetCode(EFFECT_UPDATE_ATTACK)
105: e22:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
106: e22:SetValue(-56546)
107: c22:RegisterEffect(e22)
108: local c23=Debug.AddCard(52367652,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
109: e23=Effect.CreateEffect(c23)
110: e23:SetType(EFFECT_TYPE_SINGLE)
111: e23:SetCode(EFFECT_UPDATE_ATTACK)
112: e23:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
113: e23:SetValue(-65415)
114: c23:RegisterEffect(e23)
115: local c24=Debug.AddCard(57662975,0,0,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
116: e24=Effect.CreateEffect(c24)
117: e24:SetType(EFFECT_TYPE_SINGLE)
118: e24:SetCode(EFFECT_UPDATE_ATTACK)
119: e24:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
120: e24:SetValue(-45212)
121: c24:RegisterEffect(e24)
122: local c25=Debug.AddCard(7562372,0,0,LOCATION_MZONE,4,POS_FACEUP_ATTACK)
123: e25=Effect.CreateEffect(c25)
124: e25:SetType(EFFECT_TYPE_SINGLE)
125: e25:SetCode(EFFECT_UPDATE_ATTACK)
126: e25:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
127: e25:SetValue(-32215)
128: c25:RegisterEffect(e25)
129: local c26=Debug.AddCard(66889139,0,0,LOCATION_MZONE,5,POS_FACEUP_ATTACK)
130: e26=Effect.CreateEffect(c26)
131: e26:SetType(EFFECT_TYPE_SINGLE)
132: e26:SetCode(EFFECT_UPDATE_ATTACK)
133: e26:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
134: e26:SetValue(-801)
135: c26:RegisterEffect(e26)
136:
137: Debug.AddCard(7562372,1,1,LOCATION_DECK,4,POS_FACEDOWN)
138: Debug.AddCard(7562372,1,1,LOCATION_DECK,4,POS_FACEDOWN)
139: Debug.AddCard(7562372,1,1,LOCATION_DECK,4,POS_FACEDOWN)
140: Debug.AddCard(7562372,1,1,LOCATION_DECK,4,POS_FACEDOWN)
141: Debug.AddCard(7562372,1,1,LOCATION_DECK,4,POS_FACEDOWN)
142: Debug.AddCard(7562372,1,1,LOCATION_DECK,4,POS_FACEDOWN)
143:
144:
145: Debug.ReloadFieldEnd()
146: aux.BeginPuzzle()
147: fun["开局说明"]()
148:
149:
150: Debug.ShowHint("这是一个印卡残局,点击对方额外卡组可以发动《魂之解放》打印任意卡!\n只能打印1张卡到手卡或额外卡组!\n部分怪兽攻守已改变!")
151: --~ Debug.ShowHint("只能打印1张卡到手卡或额外卡组!")
152: --~ Debug.ShowHint("场上的怪兽攻击力已改变!")