Lines of
X-LV-05.lua
from check-in 3dff221746
that are changed by the sequence of edits moving toward
check-in f8a1b1a6a8:
1: --[[message
3dff221746 2023-04-17 2: 更新:2023-04-10
3: 卡数:0
4: 规则:新大师
5: ]]
6: --By OURYGO-YGO EZ manager
7: Debug.SetAIName("顽雨沉风")
8: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,4)
9: Debug.SetPlayerInfo(0,8000,0,0)
10: Debug.SetPlayerInfo(1,2500,0,0)
11: Debug.AddCard(46986414,0,0,LOCATION_HAND,0,POS_FACEDOWN)
12: Debug.AddCard(70781055,0,0,LOCATION_HAND,0,POS_FACEDOWN)
13: Debug.AddCard(91152256,0,0,LOCATION_HAND,0,POS_FACEDOWN)
14: local g01=Debug.AddCard(27288416,0,0,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
15: local g03=Debug.AddCard(27288416,0,0,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
16:
17: Debug.AddCard(27288416,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
18: Debug.ReloadFieldEnd()
19: aux.BeginPuzzle()
20:
21: Debug.ShowHint("尝试一下四星以下不需要祭品")
22: Debug.ShowHint
23: ("五·六星怪兽需要一只祭品")
24: Debug.ShowHint
25: ("七星以上两只祭品")
26:
27: local e999=Effect.GlobalEffect()
28: e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
29: e999:SetCode(EVENT_DAMAGE)
30: e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
31: e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
32: Debug.ShowHint("残局群181175613") end)
33: Duel.RegisterEffect(e999,0)