游戏王残局简化版

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 072e496e9f:

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