游戏王残局简化版

Annotation For NH-04.lua
Login

Annotation For NH-04.lua

Origin for each line in NH-04.lua from check-in 3dff221746:

3dff221746 2023-04-17    1: --[[message
3dff221746 2023-04-17    2: 更新:2023-04-13
3dff221746 2023-04-17    3: 卡数:13
3dff221746 2023-04-17    4: 规则:新大师
3dff221746 2023-04-17    5: 不容小觑的似羊动物?
3dff221746 2023-04-17    6: ]]
3dff221746 2023-04-17    7: --By OURYGO-YGO EZ manager
3dff221746 2023-04-17    8: Debug.SetAIName("顽雨沉风")
3dff221746 2023-04-17    9: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_PSEUDO_SHUFFLE+DUEL_SIMPLE_AI,4)
3dff221746 2023-04-17   10: Debug.SetPlayerInfo(0,500,0,0)
3dff221746 2023-04-17   11: Debug.SetPlayerInfo(1,30000,0,0)
3dff221746 2023-04-17   12: local c=Debug.AddCard(55948544,1,1,LOCATION_EXTRA,0,POS_FACEUP_ATTACK) 
3dff221746 2023-04-17   13: local n=0
3dff221746 2023-04-17   14: 
3dff221746 2023-04-17   15: function print_hand(e,tp,eg,ep,ev,re,r,rp)
3dff221746 2023-04-17   16:   local ac=Duel.AnnounceCard(tp)
3dff221746 2023-04-17   17:   local c=Duel.CreateToken(tp,ac)
3dff221746 2023-04-17   18:   if n<2 then
3dff221746 2023-04-17   19:     Duel.SendtoHand(c,nil,REASON_RULE)
3dff221746 2023-04-17   20:     Duel.ShuffleHand(tp)
3dff221746 2023-04-17   21:     n=n+1
3dff221746 2023-04-17   22:   else
3dff221746 2023-04-17   23:     if n==10 then
3dff221746 2023-04-17   24:       Debug.ShowHint("印卡过多,审判降临!")
3dff221746 2023-04-17   25:       Duel.SetLP(0,0)
3dff221746 2023-04-17   26:     else
3dff221746 2023-04-17   27:       n=n+1
3dff221746 2023-04-17   28:       Duel.Remove(c,POS_FACEUP,REASON_RULE)
3dff221746 2023-04-17   29:       Duel.SendtoDeck(c,tp,0,REASON_RULE)
3dff221746 2023-04-17   30:     end
3dff221746 2023-04-17   31:   end
3dff221746 2023-04-17   32: end
3dff221746 2023-04-17   33: 
3dff221746 2023-04-17   34: local e1=Effect.CreateEffect(c)
3dff221746 2023-04-17   35: e1:SetType(EFFECT_TYPE_IGNITION)
3dff221746 2023-04-17   36: e1:SetProperty(EFFECT_FLAG_BOTH_SIDE)
3dff221746 2023-04-17   37: e1:SetRange(LOCATION_EXTRA)
3dff221746 2023-04-17   38: e1:SetOperation(print_hand)
3dff221746 2023-04-17   39: c:RegisterEffect(e1)
3dff221746 2023-04-17   40: 
3dff221746 2023-04-17   41: Debug.AddCard(14558127,1,1,LOCATION_HAND,0,POS_FACEDOWN)
3dff221746 2023-04-17   42: local m1=Debug.AddCard(65403020,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
3dff221746 2023-04-17   43: Debug.AddCard(84794011,1,1,LOCATION_DECK,2,POS_FACEUP_ATTACK)
3dff221746 2023-04-17   44: Debug.AddCard(92731455,1,1,LOCATION_DECK,2,POS_FACEUP_ATTACK)
3dff221746 2023-04-17   45: Debug.AddCard(67441435,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
3dff221746 2023-04-17   46: Debug.AddCard(81035362,0,0,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
3dff221746 2023-04-17   47: local m2=Debug.AddCard(86099788,1,1,LOCATION_MZONE,4,POS_FACEUP_ATTACK)
3dff221746 2023-04-17   48: Debug.AddCard(11366199,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
3dff221746 2023-04-17   49: Debug.AddCard(41147577,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
3dff221746 2023-04-17   50: Debug.AddCard(26268488,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
3dff221746 2023-04-17   51: Debug.AddCard(17016362,1,1,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
3dff221746 2023-04-17   52: local s2=Debug.AddCard(38296564,1,1,LOCATION_SZONE,0,POS_FACEUP_ATTACK)
3dff221746 2023-04-17   53: 
3dff221746 2023-04-17   54: local s1=Debug.AddCard(19508728,0,0,LOCATION_SZONE,2,POS_FACEUP)
3dff221746 2023-04-17   55: Debug.PreEquip(s1,m1)
3dff221746 2023-04-17   56: Debug.AddCard(68462976,1,1,LOCATION_SZONE,5,POS_FACEUP)
3dff221746 2023-04-17   57: 
3dff221746 2023-04-17   58: Debug.ReloadFieldEnd()
3dff221746 2023-04-17   59: Debug.PreSetTarget(s2, m2)
3dff221746 2023-04-17   60: Debug.ShowHint("这是一个印卡残局,点击对方额外卡组可以发动《法老的审判》打印任意卡。\n只能打印2张卡到手卡,其他8张卡片将被添加到主卡组或额外卡组。")
3dff221746 2023-04-17   61: --~ Debug.ShowHint("只能打印2张卡到手卡,其他8张卡片将被添加到主卡组或额外卡组。")
3dff221746 2023-04-17   62: aux.BeginPuzzle()
3dff221746 2023-04-17   63: 
3dff221746 2023-04-17   64: 
3dff221746 2023-04-17   65: 
3dff221746 2023-04-17   66: