Lines of
single/Naim_Lyrilusc.lua
from check-in 8cc3c134ba
that are changed by the sequence of edits moving toward
check-in 793f3ee99e:
1: --[[message
2: Multiple attackers are fun when you can abuse them. Even funnier if they can attack directly.
3: ]]
4:
5: --~ 必须位于残局文件顶部
6: --~ 加载残局函数库
7: Debug.AddCard(0,0,0,LOCATION_MZONE,-1,POS_FACEUP)
8:
9:
10: Debug.SetAIName("Naim")
11: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,5)
12: Debug.SetPlayerInfo(0,100,0,0)
13: Debug.SetPlayerInfo(1,14900,0,0)
8cc3c134ba 2023-07-07 14:
8cc3c134ba 2023-07-07 15: local e0=Effect.GlobalEffect()
8cc3c134ba 2023-07-07 16: e0:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
8cc3c134ba 2023-07-07 17: e0:SetCode(EVENT_ADJUST)
8cc3c134ba 2023-07-07 18: e0:SetCountLimit(1)
8cc3c134ba 2023-07-07 19: e0:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(0)>0 end)
8cc3c134ba 2023-07-07 20: e0:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
8cc3c134ba 2023-07-07 21: local g=Duel.SelectMatchingCard(tp,Card.IsAbleToHand,tp,LOCATION_DECK,0,2,2,nil)
8cc3c134ba 2023-07-07 22: if g:GetCount()>0 then
8cc3c134ba 2023-07-07 23: Duel.SendtoHand(g,nil,REASON_RULE)
8cc3c134ba 2023-07-07 24: end end)
8cc3c134ba 2023-07-07 25: Duel.RegisterEffect(e0,0)
26:
27: --your hand
28: Debug.AddCard(97949165,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK) --turquoise
29: Debug.AddCard(34550857,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK) --cobalt
30: Debug.AddCard(85431040,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK) --evil thorn
31: Debug.AddCard(45452224,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK) --where arf thou
32: Debug.AddCard(43422537,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK) --double summon
33:
34: --your deck
35: Debug.AddCard(85431040,0,0,LOCATION_DECK,0,POS_FACEDOWN) --evil thorn
36: Debug.AddCard(85431040,0,0,LOCATION_DECK,0,POS_FACEDOWN) --evil thorn
37: Debug.AddCard(60954556,0,0,LOCATION_DECK,0,POS_FACEDOWN) --sapphire
38: Debug.AddCard(60954556,0,0,LOCATION_DECK,0,POS_FACEDOWN) --sapphire
39:
40: --your extra deck
41: Debug.AddCard(8491961,0,0,LOCATION_EXTRA,0,POS_FACEDOWN) --recite starling
42: Debug.AddCard(8491961,0,0,LOCATION_EXTRA,0,POS_FACEDOWN) --recite starling
43: Debug.AddCard(48608796,0,0,LOCATION_EXTRA,0,POS_FACEDOWN) --assembly nightingale
44:
45: --opponent's
46: Debug.AddCard(46986414,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK) --Legendary Fisherman III
47:
48: --Insert any message here
49: --insert additional message here
50: Debug.ReloadFieldEnd()
51: aux.BeginPuzzle()
52:
53:
54: fun["开局添加手卡"](2)