游戏王残局简化版

Annotation For X-LV-30.lua
Login

Annotation For X-LV-30.lua

Origin for each line in X-LV-30.lua from check-in f8a1b1a6a8:

3dff221746 2023-04-17    1: --[[message
3dff221746 2023-04-17    2: 卡数:6
3dff221746 2023-04-17    3: 规则:新大师
3dff221746 2023-04-17    4: ]]
3dff221746 2023-04-17    5: --By OURYGO-YGO EZ manager
3dff221746 2023-04-17    6: Debug.SetAIName("顽雨沉风")
3dff221746 2023-04-17    7: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,4)
3dff221746 2023-04-17    8: Debug.SetPlayerInfo(0,8000,0,0)
3dff221746 2023-04-17    9: Debug.SetPlayerInfo(1,3900,0,0)
3dff221746 2023-04-17   10: Debug.AddCard(38395123,0,0,LOCATION_DECK,0,POS_FACEDOWN)
3dff221746 2023-04-17   11: --~ Debug.AddCard(25290459,0,0,LOCATION_HAND,0,POS_FACEDOWN)
3dff221746 2023-04-17   12: Debug.AddCard(90500169,0,0,LOCATION_HAND,0,POS_FACEDOWN)
3dff221746 2023-04-17   13: local g02=Debug.AddCard(46384672,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
3dff221746 2023-04-17   14: local g12=Debug.AddCard(49888191,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
3dff221746 2023-04-17   15: --~ local m02=Debug.AddCard(11741041,0,0,LOCATION_SZONE,2,POS_FACEUP)
3dff221746 2023-04-17   16: Debug.AddCard(75884822,0,0,LOCATION_SZONE,3,POS_FACEDOWN)
3dff221746 2023-04-17   17: --~ Debug.AddCard(70865988,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
3dff221746 2023-04-17   18: local c0=Debug.AddCard(90011152,0,0,LOCATION_SZONE,5,POS_FACEUP)
3dff221746 2023-04-17   19: Debug.AddCard(79335209,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)
3dff221746 2023-04-17   20: Debug.AddCard(42941100,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)
3dff221746 2023-04-17   21: Debug.AddCard(12482652,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)
3dff221746 2023-04-17   22: Debug.AddCard(980973,0,0,LOCATION_GRAVE,0,POS_FACEUP)
3dff221746 2023-04-17   23: Debug.ReloadFieldEnd()
3dff221746 2023-04-17   24: aux.BeginPuzzle()
3dff221746 2023-04-17   25: local e999=Effect.GlobalEffect()
3dff221746 2023-04-17   26: e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
3dff221746 2023-04-17   27: e999:SetCode(EVENT_DAMAGE)
3dff221746 2023-04-17   28: e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
3dff221746 2023-04-17   29: e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
3dff221746 2023-04-17   30: Debug.ShowHint("残局群181175613") end)
3dff221746 2023-04-17   31: Duel.RegisterEffect(e999,0)
3dff221746 2023-04-17   32: 
3dff221746 2023-04-17   33: 
3dff221746 2023-04-17   34: local e1=Effect.GlobalEffect()
3dff221746 2023-04-17   35: e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
3dff221746 2023-04-17   36: e1:SetCode(EVENT_PHASE_START+PHASE_END)
3dff221746 2023-04-17   37: e1:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetTurnPlayer()==0 end)
3dff221746 2023-04-17   38: e1:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
3dff221746 2023-04-17   39: Debug.ShowHint("其实这局最多只能打3900血。") end)
3dff221746 2023-04-17   40: Duel.RegisterEffect(e1,0)