游戏王残局简化版

Annotation For NH-02.lua
Login

Annotation For NH-02.lua

Origin for each line in NH-02.lua from check-in b1ab5b678d:

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