游戏王残局简化版

Annotation For single/X-LV-47.lua
Login

Annotation For single/X-LV-47.lua

Origin for each line in single/X-LV-47.lua from check-in f27b011394:

e7f204fb3d 2023-06-29    1: --[[message
e7f204fb3d 2023-06-29    2: 规则:新大师
e7f204fb3d 2023-06-29    3: 个十百千万?
e7f204fb3d 2023-06-29    4: ]]
e7f204fb3d 2023-06-29    5: --created by puzzle editor
f27b011394 2023-07-10    6: --~ 必须位于残局文件顶部
f27b011394 2023-07-10    7: --~ 加载残局函数库
f27b011394 2023-07-10    8: Debug.AddCard(0,0,0,LOCATION_MZONE,-1,POS_FACEUP)
e7f204fb3d 2023-06-29    9: Debug.SetAIName("顽雨沉风")
e7f204fb3d 2023-06-29   10: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,4)
e7f204fb3d 2023-06-29   11: Debug.SetPlayerInfo(0,621543,0,0)
e7f204fb3d 2023-06-29   12: Debug.SetPlayerInfo(1,231370,0,0)
e7f204fb3d 2023-06-29   13: 
f27b011394 2023-07-10   14: local c=Debug.AddCard(5758500,1,1,LOCATION_EXTRA,0,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   15: local n=0
e7f204fb3d 2023-06-29   16: 
e7f204fb3d 2023-06-29   17: function print_hand(e,tp,eg,ep,ev,re,r,rp)
e7f204fb3d 2023-06-29   18:   local ac=Duel.AnnounceCard(tp)
e7f204fb3d 2023-06-29   19:   local c=Duel.CreateToken(tp,ac)
e7f204fb3d 2023-06-29   20:   if n<1 then
e7f204fb3d 2023-06-29   21:     Duel.SendtoHand(c,nil,REASON_RULE)
e7f204fb3d 2023-06-29   22:     Duel.ShuffleHand(tp)
e7f204fb3d 2023-06-29   23:     n=n+1
e7f204fb3d 2023-06-29   24:   else
e7f204fb3d 2023-06-29   25:     if n==1 then
e7f204fb3d 2023-06-29   26:       Debug.ShowHint("印卡过多,审判降临!")
e7f204fb3d 2023-06-29   27:       Duel.SetLP(0,0)
e7f204fb3d 2023-06-29   28:     else
e7f204fb3d 2023-06-29   29:       n=n+1
e7f204fb3d 2023-06-29   30:       Duel.Remove(c,POS_FACEUP,REASON_RULE)
e7f204fb3d 2023-06-29   31:       Duel.SendtoDeck(c,tp,0,REASON_RULE)
e7f204fb3d 2023-06-29   32:     end
e7f204fb3d 2023-06-29   33:   end
e7f204fb3d 2023-06-29   34: end
e7f204fb3d 2023-06-29   35: 
e7f204fb3d 2023-06-29   36: local e1=Effect.CreateEffect(c)
e7f204fb3d 2023-06-29   37: e1:SetType(EFFECT_TYPE_IGNITION)
e7f204fb3d 2023-06-29   38: e1:SetProperty(EFFECT_FLAG_BOTH_SIDE)
e7f204fb3d 2023-06-29   39: e1:SetRange(LOCATION_EXTRA)
e7f204fb3d 2023-06-29   40: e1:SetOperation(print_hand)
e7f204fb3d 2023-06-29   41: c:RegisterEffect(e1)
e7f204fb3d 2023-06-29   42: 
e7f204fb3d 2023-06-29   43: Debug.AddCard(77622396,0,0,LOCATION_SZONE,1,POS_FACEDOWN_ATTACK)
e7f204fb3d 2023-06-29   44: Debug.AddCard(49658464,0,0,LOCATION_SZONE,2,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   45: Debug.AddCard(22205600,0,0,LOCATION_SZONE,3,POS_FACEDOWN_ATTACK)
e7f204fb3d 2023-06-29   46: 
e7f204fb3d 2023-06-29   47: Debug.AddCard(13758665,1,1,LOCATION_SZONE,1,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   48: Debug.AddCard(51452091,1,1,LOCATION_SZONE,3,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   49: 
e7f204fb3d 2023-06-29   50: 
e7f204fb3d 2023-06-29   51: local c11=Debug.AddCard(79182538,1,1,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   52: e11=Effect.CreateEffect(c11)
e7f204fb3d 2023-06-29   53: e11:SetType(EFFECT_TYPE_SINGLE)
e7f204fb3d 2023-06-29   54: e11:SetCode(EFFECT_UPDATE_ATTACK)
e7f204fb3d 2023-06-29   55: e11:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e7f204fb3d 2023-06-29   56: e11:SetValue(1156)
e7f204fb3d 2023-06-29   57: c11:RegisterEffect(e11)
e7f204fb3d 2023-06-29   58: local c12=Debug.AddCard(77603950,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   59: e12=Effect.CreateEffect(c12)
e7f204fb3d 2023-06-29   60: e12:SetType(EFFECT_TYPE_SINGLE)
e7f204fb3d 2023-06-29   61: e12:SetCode(EFFECT_UPDATE_ATTACK)
e7f204fb3d 2023-06-29   62: e12:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e7f204fb3d 2023-06-29   63: e12:SetValue(1252)
e7f204fb3d 2023-06-29   64: c12:RegisterEffect(e12)
e7f204fb3d 2023-06-29   65: local c13=Debug.AddCard(89631139,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   66: e13=Effect.CreateEffect(c13)
e7f204fb3d 2023-06-29   67: e13:SetType(EFFECT_TYPE_SINGLE)
e7f204fb3d 2023-06-29   68: e13:SetCode(EFFECT_UPDATE_ATTACK)
e7f204fb3d 2023-06-29   69: e13:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e7f204fb3d 2023-06-29   70: e13:SetValue(1698)
e7f204fb3d 2023-06-29   71: c13:RegisterEffect(e13)
e7f204fb3d 2023-06-29   72: local c14=Debug.AddCard(6367785,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   73: e14=Effect.CreateEffect(c14)
e7f204fb3d 2023-06-29   74: e14:SetType(EFFECT_TYPE_SINGLE)
e7f204fb3d 2023-06-29   75: e14:SetCode(EFFECT_UPDATE_ATTACK)
e7f204fb3d 2023-06-29   76: e14:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e7f204fb3d 2023-06-29   77: e14:SetValue(652)
e7f204fb3d 2023-06-29   78: c14:RegisterEffect(e14)
e7f204fb3d 2023-06-29   79: local c15=Debug.AddCard(26268488,1,1,LOCATION_MZONE,4,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   80: e15=Effect.CreateEffect(c15)
e7f204fb3d 2023-06-29   81: e15:SetType(EFFECT_TYPE_SINGLE)
e7f204fb3d 2023-06-29   82: e15:SetCode(EFFECT_UPDATE_ATTACK)
e7f204fb3d 2023-06-29   83: e15:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e7f204fb3d 2023-06-29   84: e15:SetValue(254)
e7f204fb3d 2023-06-29   85: c15:RegisterEffect(e15)
e7f204fb3d 2023-06-29   86: local c16=Debug.AddCard(27134689,1,1,LOCATION_MZONE,5,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   87: e16=Effect.CreateEffect(c16)
e7f204fb3d 2023-06-29   88: e16:SetType(EFFECT_TYPE_SINGLE)
e7f204fb3d 2023-06-29   89: e16:SetCode(EFFECT_UPDATE_ATTACK)
e7f204fb3d 2023-06-29   90: e16:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e7f204fb3d 2023-06-29   91: e16:SetValue(800)
e7f204fb3d 2023-06-29   92: c16:RegisterEffect(e16)
e7f204fb3d 2023-06-29   93: 
e7f204fb3d 2023-06-29   94: local c21=Debug.AddCard(99645428,0,0,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   95: e21=Effect.CreateEffect(c21)
e7f204fb3d 2023-06-29   96: e21:SetType(EFFECT_TYPE_SINGLE)
e7f204fb3d 2023-06-29   97: e21:SetCode(EFFECT_UPDATE_ATTACK)
e7f204fb3d 2023-06-29   98: e21:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e7f204fb3d 2023-06-29   99: e21:SetValue(-21565)
e7f204fb3d 2023-06-29  100: c21:RegisterEffect(e21)
e7f204fb3d 2023-06-29  101: local c22=Debug.AddCard(46986414,0,0,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29  102: e22=Effect.CreateEffect(c22)
e7f204fb3d 2023-06-29  103: e22:SetType(EFFECT_TYPE_SINGLE)
e7f204fb3d 2023-06-29  104: e22:SetCode(EFFECT_UPDATE_ATTACK)
e7f204fb3d 2023-06-29  105: e22:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e7f204fb3d 2023-06-29  106: e22:SetValue(-56546)
e7f204fb3d 2023-06-29  107: c22:RegisterEffect(e22)
e7f204fb3d 2023-06-29  108: local c23=Debug.AddCard(52367652,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29  109: e23=Effect.CreateEffect(c23)
e7f204fb3d 2023-06-29  110: e23:SetType(EFFECT_TYPE_SINGLE)
e7f204fb3d 2023-06-29  111: e23:SetCode(EFFECT_UPDATE_ATTACK)
e7f204fb3d 2023-06-29  112: e23:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e7f204fb3d 2023-06-29  113: e23:SetValue(-65415)
e7f204fb3d 2023-06-29  114: c23:RegisterEffect(e23)
e7f204fb3d 2023-06-29  115: local c24=Debug.AddCard(57662975,0,0,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29  116: e24=Effect.CreateEffect(c24)
e7f204fb3d 2023-06-29  117: e24:SetType(EFFECT_TYPE_SINGLE)
e7f204fb3d 2023-06-29  118: e24:SetCode(EFFECT_UPDATE_ATTACK)
e7f204fb3d 2023-06-29  119: e24:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e7f204fb3d 2023-06-29  120: e24:SetValue(-45212)
e7f204fb3d 2023-06-29  121: c24:RegisterEffect(e24)
e7f204fb3d 2023-06-29  122: local c25=Debug.AddCard(7562372,0,0,LOCATION_MZONE,4,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29  123: e25=Effect.CreateEffect(c25)
e7f204fb3d 2023-06-29  124: e25:SetType(EFFECT_TYPE_SINGLE)
e7f204fb3d 2023-06-29  125: e25:SetCode(EFFECT_UPDATE_ATTACK)
e7f204fb3d 2023-06-29  126: e25:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e7f204fb3d 2023-06-29  127: e25:SetValue(-32215)
e7f204fb3d 2023-06-29  128: c25:RegisterEffect(e25)
e7f204fb3d 2023-06-29  129: local c26=Debug.AddCard(66889139,0,0,LOCATION_MZONE,5,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29  130: e26=Effect.CreateEffect(c26)
e7f204fb3d 2023-06-29  131: e26:SetType(EFFECT_TYPE_SINGLE)
e7f204fb3d 2023-06-29  132: e26:SetCode(EFFECT_UPDATE_ATTACK)
e7f204fb3d 2023-06-29  133: e26:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e7f204fb3d 2023-06-29  134: e26:SetValue(-801)
e7f204fb3d 2023-06-29  135: c26:RegisterEffect(e26)
e7f204fb3d 2023-06-29  136: 
e7f204fb3d 2023-06-29  137: Debug.AddCard(7562372,1,1,LOCATION_DECK,4,POS_FACEDOWN)
e7f204fb3d 2023-06-29  138: Debug.AddCard(7562372,1,1,LOCATION_DECK,4,POS_FACEDOWN)
e7f204fb3d 2023-06-29  139: Debug.AddCard(7562372,1,1,LOCATION_DECK,4,POS_FACEDOWN)
e7f204fb3d 2023-06-29  140: Debug.AddCard(7562372,1,1,LOCATION_DECK,4,POS_FACEDOWN)
e7f204fb3d 2023-06-29  141: Debug.AddCard(7562372,1,1,LOCATION_DECK,4,POS_FACEDOWN)
e7f204fb3d 2023-06-29  142: Debug.AddCard(7562372,1,1,LOCATION_DECK,4,POS_FACEDOWN)
e7f204fb3d 2023-06-29  143: 
e7f204fb3d 2023-06-29  144: 
e7f204fb3d 2023-06-29  145: Debug.ReloadFieldEnd()
e7f204fb3d 2023-06-29  146: aux.BeginPuzzle()
f27b011394 2023-07-10  147: fun["开局说明"]()
f27b011394 2023-07-10  148: 
e7f204fb3d 2023-06-29  149: 
e7f204fb3d 2023-06-29  150: Debug.ShowHint("这是一个印卡残局,点击对方额外卡组可以发动《魂之解放》打印任意卡!\n只能打印1张卡到手卡或额外卡组!\n部分怪兽攻守已改变!")
e7f204fb3d 2023-06-29  151: --~ Debug.ShowHint("只能打印1张卡到手卡或额外卡组!")
e7f204fb3d 2023-06-29  152: --~ Debug.ShowHint("场上的怪兽攻击力已改变!")