Lines of
37.Eternal Evolution.lua
from check-in 46fa9991e7
that are changed by the sequence of edits moving toward
check-in 942859547d:
1: --[[message
2: 卡数:35
3: 规则:大师3
4: 永恒进化
5: ]]
6: --puzzle1
7: Debug.SetAIName("四妹")
8: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,3)
9: Debug.SetPlayerInfo(0,100,0,0)
10: Debug.SetPlayerInfo(1,25100,0,0)
11:
12: local e0=Effect.GlobalEffect()
13: e0:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
14: e0:SetCode(EVENT_ADJUST)
15: e0:SetCountLimit(1)
16: e0:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(0)>0 end)
17: e0:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
18: local g=Duel.SelectMatchingCard(tp,Card.IsAbleToHand,tp,LOCATION_DECK,0,3,3,nil)
19: if g:GetCount()>0 then
20: Duel.SendtoHand(g,nil,REASON_RULE)
21: end end)
22: Duel.RegisterEffect(e0,0)
23:
24: Debug.AddCard(25774450,0,0,LOCATION_DECK,0,POS_FACEDOWN)
25: Debug.AddCard(86686671,0,0,LOCATION_DECK,0,POS_FACEDOWN)
26: Debug.AddCard(59281922,0,0,LOCATION_DECK,0,POS_FACEDOWN)
27: Debug.AddCard(62651957,0,0,LOCATION_DECK,0,POS_FACEDOWN)
28: Debug.AddCard(70095155,0,0,LOCATION_DECK,0,POS_FACEDOWN)
29: Debug.AddCard(3405259,0,0,LOCATION_DECK,0,POS_FACEDOWN)
30: Debug.AddCard(77411244,0,0,LOCATION_DECK,0,POS_FACEDOWN)
31: Debug.AddCard(30012506,0,0,LOCATION_DECK,0,POS_FACEDOWN)
32: Debug.AddCard(63941210,0,0,LOCATION_DECK,0,POS_FACEDOWN)
33: Debug.AddCard(63737050,0,0,LOCATION_DECK,0,POS_FACEDOWN)
34: Debug.AddCard(11066358,0,0,LOCATION_DECK,0,POS_FACEDOWN)
35: Debug.AddCard(46659709,0,0,LOCATION_DECK,0,POS_FACEDOWN)
36: Debug.AddCard(62651957,0,0,LOCATION_DECK,0,POS_FACEDOWN)
37: Debug.AddCard(23893227,0,0,LOCATION_HAND,0,POS_FACEDOWN)
38: Debug.AddCard(96146814,0,0,LOCATION_HAND,0,POS_FACEDOWN)
39: Debug.AddCard(58069384,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
40: Debug.AddCard(58069384,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
41: Debug.AddCard(58069384,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
42: Debug.AddCard(10443957,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
43: Debug.AddCard(43202238,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
44: Debug.AddCard(74586817,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
45: Debug.AddCard(80532587,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
46: Debug.AddCard(89112729,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
47: Debug.AddCard(84058253,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
48: Debug.AddCard(79229522,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
49: Debug.AddCard(74157028,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
50: Debug.AddCard(1561110,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
51: Debug.AddCard(3897065,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
52: Debug.AddCard(1546124,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
53: Debug.AddCard(98850929,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
54: Debug.AddCard(32104431,1,1,LOCATION_GRAVE,0,POS_FACEUP)
55: Debug.AddCard(78193831,1,1,LOCATION_HAND,0,POS_FACEDOWN)
56: Debug.AddCard(97940434,1,1,LOCATION_HAND,0,POS_FACEDOWN)
57: Debug.AddCard(23995346,1,1,LOCATION_EXTRA,0,POS_FACEDOWN)
58: Debug.AddCard(86240887,1,1,LOCATION_EXTRA,0,POS_FACEDOWN)
59: Debug.AddCard(59822133,1,1,LOCATION_MZONE,0,POS_FACEUP_DEFENSE)
60: Debug.AddCard(53347303,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
61: Debug.AddCard(56532353,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
62: local m10=Debug.AddCard(89631139,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
63: local e10=Effect.CreateEffect(m10)
64: e10:SetType(EFFECT_TYPE_SINGLE)
65: e10:SetCode(EFFECT_UPDATE_ATTACK)
66: e10:SetValue(1500)
67: e10:SetReset(RESET_EVENT+RESETS_STANDARD)
68: m10:RegisterEffect(e10)
69: local e11=Effect.CreateEffect(m10)
70: e11:SetType(EFFECT_TYPE_SINGLE)
71: e11:SetCode(EFFECT_UPDATE_DEFENSE)
72: e11:SetValue(-2500)
73: e11:SetReset(RESET_EVENT+RESETS_STANDARD)
74: m10:RegisterEffect(e11)
75: Debug.AddCard(55410871,1,1,LOCATION_MZONE,4,POS_FACEUP_ATTACK)
76: Debug.AddCard(20960340,1,1,LOCATION_SZONE,2,POS_FACEDOWN)
77: Debug.AddCard(15155568,1,1,LOCATION_SZONE,4,POS_FACEDOWN)
78: Debug.ReloadFieldEnd()
46fa9991e7 2023-04-18 79: Debug.ShowHint("部分怪兽攻守已改变!\n从卡组中选择3张卡作为手卡!")
46fa9991e7 2023-04-18 80: --~ Debug.ShowHint("从卡组选3张卡作为手卡!")
81: aux.BeginPuzzle()
82: local e999=Effect.GlobalEffect()
83: e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
84: e999:SetCode(EVENT_DAMAGE)
85: e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
86: e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
87: Debug.ShowHint("残局群181175613") end)
88: Duel.RegisterEffect(e999,0)