游戏王残局简化版

Annotation For X-LV-47.lua
Login

Annotation For X-LV-47.lua

Origin for each line in X-LV-47.lua from check-in 3dff221746:

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