游戏王残局简化版

Annotation For single/NH-02.lua
Login

Annotation For single/NH-02.lua

Origin for each line in single/NH-02.lua from check-in e7f204fb3d:

e7f204fb3d 2023-06-29    1: --[[message
e7f204fb3d 2023-06-29    2: 卡数:49
e7f204fb3d 2023-06-29    3: 规则:大师3
e7f204fb3d 2023-06-29    4: 大风起兮云飞扬!
e7f204fb3d 2023-06-29    5: ]]
e7f204fb3d 2023-06-29    6: Debug.SetAIName("顽雨沉风")
e7f204fb3d 2023-06-29    7: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_PSEUDO_SHUFFLE+DUEL_SIMPLE_AI,3)
e7f204fb3d 2023-06-29    8: Debug.SetPlayerInfo(0,3100,0,0)
e7f204fb3d 2023-06-29    9: Debug.SetPlayerInfo(1,123700,0,0)
e7f204fb3d 2023-06-29   10: 
e7f204fb3d 2023-06-29   11: local e0=Effect.GlobalEffect()
e7f204fb3d 2023-06-29   12: e0:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e7f204fb3d 2023-06-29   13: e0:SetCode(EVENT_ADJUST)
e7f204fb3d 2023-06-29   14: e0:SetCountLimit(1)
e7f204fb3d 2023-06-29   15: e0:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(0)>0 end)
e7f204fb3d 2023-06-29   16: e0:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
e7f204fb3d 2023-06-29   17: local g=Duel.SelectMatchingCard(tp,Card.IsAbleToHand,tp,LOCATION_DECK,0,8,8,nil)
e7f204fb3d 2023-06-29   18: if g:GetCount()>0 then
e7f204fb3d 2023-06-29   19:   Duel.SendtoHand(g,nil,REASON_RULE)
e7f204fb3d 2023-06-29   20: end end)
e7f204fb3d 2023-06-29   21: Duel.RegisterEffect(e0,0)
e7f204fb3d 2023-06-29   22: 
e7f204fb3d 2023-06-29   23: Debug.AddCard(7198399,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   24: Debug.AddCard(99666430,0,0,LOCATION_MZONE,0,POS_FACEUP_ATTACK,true)
e7f204fb3d 2023-06-29   25: Debug.AddCard(68815132,0,0,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   26: Debug.AddCard(46247516,1,1,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
e7f204fb3d 2023-06-29   27: --~ Debug.AddCard(96945958,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
e7f204fb3d 2023-06-29   28: Debug.AddCard(17658803,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
e7f204fb3d 2023-06-29   29: Debug.AddCard(17658803,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
e7f204fb3d 2023-06-29   30: Debug.AddCard(96945958,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
e7f204fb3d 2023-06-29   31: Debug.AddCard(71007216,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
e7f204fb3d 2023-06-29   32: Debug.AddCard(56585883,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   33: Debug.AddCard(5399521,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
e7f204fb3d 2023-06-29   34: Debug.AddCard(70117860,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
e7f204fb3d 2023-06-29   35: Debug.AddCard(98867329,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
e7f204fb3d 2023-06-29   36: Debug.AddCard(56747793,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
e7f204fb3d 2023-06-29   37: Debug.AddCard(37011715,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
e7f204fb3d 2023-06-29   38: Debug.AddCard(73356503,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
e7f204fb3d 2023-06-29   39: Debug.AddCard(7044562,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
e7f204fb3d 2023-06-29   40: Debug.AddCard(76812113,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
e7f204fb3d 2023-06-29   41: --~ Debug.AddCard(68815132,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   42: Debug.AddCard(14785765,0,0,LOCATION_MZONE,4,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   43: --~ Debug.AddCard(70117860,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   44: Debug.AddCard(70117860,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   45: --~ Debug.AddCard(7608148,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   46: c=Debug.AddCard(21516908,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   47: c:CompleteProcedure()
e7f204fb3d 2023-06-29   48: Debug.AddCard(80208158,1,1,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   49: c=Debug.AddCard(14577226,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   50: c:CompleteProcedure()
e7f204fb3d 2023-06-29   51: Debug.AddCard(98506199,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK,true)
e7f204fb3d 2023-06-29   52: Debug.AddCard(70939418,0,0,LOCATION_REMOVED,0,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   53: Debug.AddCard(82044279,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
e7f204fb3d 2023-06-29   54: Debug.AddCard(64880894,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
e7f204fb3d 2023-06-29   55: Debug.AddCard(42110604,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
e7f204fb3d 2023-06-29   56: Debug.AddCard(14816688,0,0,LOCATION_SZONE,0,POS_FACEDOWN_ATTACK)
e7f204fb3d 2023-06-29   57: Debug.AddCard(52503575,0,0,LOCATION_SZONE,2,POS_FACEDOWN_ATTACK)
e7f204fb3d 2023-06-29   58: Debug.AddCard(19162134,0,0,LOCATION_SZONE,5,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   59: Debug.AddCard(79333300,0,0,LOCATION_SZONE,3,POS_FACEDOWN_ATTACK)
e7f204fb3d 2023-06-29   60: Debug.AddCard(79333300,0,0,LOCATION_SZONE,4,POS_FACEDOWN_ATTACK)
e7f204fb3d 2023-06-29   61: Debug.AddCard(67775894,0,0,LOCATION_SZONE,1,POS_FACEDOWN_ATTACK)
e7f204fb3d 2023-06-29   62: Debug.AddCard(43722862,0,0,LOCATION_DECK,1,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   63: Debug.AddCard(12525049,0,0,LOCATION_DECK,2,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   64: --~ Debug.AddCard(56585883,0,0,LOCATION_DECK,3,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   65: Debug.AddCard(12247206,0,0,LOCATION_DECK,4,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   66: --~ Debug.AddCard(88392300,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   67: Debug.AddCard(49267971,0,0,LOCATION_DECK,4,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   68: Debug.AddCard(27753563,0,0,LOCATION_DECK,4,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   69: --~ Debug.AddCard(56585883,0,0,LOCATION_DECK,3,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   70: --~ Debug.AddCard(67775894,0,0,LOCATION_DECK,5,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   71: Debug.AddCard(80161395,0,0,LOCATION_DECK,6,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   72: Debug.AddCard(31178212,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   73: Debug.AddCard(33776734,1,1,LOCATION_HAND,0,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   74: Debug.AddCard(60643553,1,1,LOCATION_HAND,0,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   75: --~ Debug.AddCard(24731453,1,1,LOCATION_HAND,0,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   76: Debug.AddCard(64554883,1,1,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   77: Debug.AddCard(46247516,1,1,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   78: Debug.AddCard(12247206,1,1,LOCATION_SZONE,0,POS_FACEDOWN_ATTACK)
e7f204fb3d 2023-06-29   79: --~ Debug.AddCard(5833312,1,1,LOCATION_SZONE,5,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   80: Debug.AddCard(71829750,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   81: Debug.AddCard(14342283,1,1,LOCATION_SZONE,1,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   82: Debug.AddCard(67616300,1,1,LOCATION_SZONE,5,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   83: Debug.AddCard(44405066,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   84: Debug.AddCard(46247516,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   85: Debug.AddCard(29401950,1,1,LOCATION_SZONE,2,POS_FACEDOWN_ATTACK)
e7f204fb3d 2023-06-29   86: 
e7f204fb3d 2023-06-29   87: Debug.AddCard(64554883,1,1,LOCATION_MZONE,4,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   88: Debug.AddCard(7198399,1,1,LOCATION_MZONE,4,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   89: Debug.AddCard(67949763,1,1,LOCATION_SZONE,4,POS_FACEDOWN_ATTACK)
e7f204fb3d 2023-06-29   90: Debug.AddCard(67949763,1,1,LOCATION_SZONE,3,POS_FACEDOWN_ATTACK)
e7f204fb3d 2023-06-29   91: Debug.ReloadFieldEnd()
e7f204fb3d 2023-06-29   92: 
e7f204fb3d 2023-06-29   93: Debug.ShowHint("从卡组中选择八张卡加入手卡!")
e7f204fb3d 2023-06-29   94: aux.BeginPuzzle()
e7f204fb3d 2023-06-29   95: local e999=Effect.GlobalEffect()
e7f204fb3d 2023-06-29   96: e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e7f204fb3d 2023-06-29   97: e999:SetCode(EVENT_DAMAGE)
e7f204fb3d 2023-06-29   98: e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
e7f204fb3d 2023-06-29   99: e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
e7f204fb3d 2023-06-29  100: Debug.ShowHint("残局群181175613") end)
e7f204fb3d 2023-06-29  101: Duel.RegisterEffect(e999,0)
e7f204fb3d 2023-06-29  102: 
e7f204fb3d 2023-06-29  103: