游戏王残局简化版

Annotation For NH-04_衍生版_1.lua
Login

Annotation For NH-04_衍生版_1.lua

Origin for each line in NH-04_衍生版_1.lua from check-in bbc6711f61:

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