游戏王残局简化版

Annotation For huamei01.lua
Login

Annotation For huamei01.lua

Origin for each line in huamei01.lua from check-in 64a3888584:

66041c9b2e 2023-05-13    1: --[[message
13feeb1c71 2023-05-13    2: 卡数:20
66041c9b2e 2023-05-13    3: 规则:大师3
66041c9b2e 2023-05-13    4: ]]
66041c9b2e 2023-05-13    5: --created by ygopro puzzle maker
66041c9b2e 2023-05-13    6: Debug.SetAIName("花妹")
66041c9b2e 2023-05-13    7: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,3)
66041c9b2e 2023-05-13    8: Debug.SetPlayerInfo(0,666,0,0)
66041c9b2e 2023-05-13    9: Debug.SetPlayerInfo(1,23333,0,0)
66041c9b2e 2023-05-13   10: 
4e72b3b187 2023-05-13   11: local e0=Effect.GlobalEffect()
4e72b3b187 2023-05-13   12: e0:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
4e72b3b187 2023-05-13   13: e0:SetCode(EVENT_ADJUST)
4e72b3b187 2023-05-13   14: e0:SetCountLimit(1)
4e72b3b187 2023-05-13   15: e0:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(0)>0 end)
4e72b3b187 2023-05-13   16: e0:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
4e72b3b187 2023-05-13   17: local g=Duel.SelectMatchingCard(tp,Card.IsAbleToHand,tp,LOCATION_DECK,0,5,5,nil)
4e72b3b187 2023-05-13   18: if g:GetCount()>0 then
4e72b3b187 2023-05-13   19:   Duel.SendtoHand(g,nil,REASONDECKE)
4e72b3b187 2023-05-13   20: end end)
4e72b3b187 2023-05-13   21: Duel.RegisterEffect(e0,0)
4e72b3b187 2023-05-13   22: 
66041c9b2e 2023-05-13   23: --my hand
4e72b3b187 2023-05-13   24: Debug.AddCard(31036355,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
4e72b3b187 2023-05-13   25: Debug.AddCard(28741524,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
4e72b3b187 2023-05-13   26: 
4e72b3b187 2023-05-13   27: Debug.AddCard(19163116,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
66041c9b2e 2023-05-13   28: 
66041c9b2e 2023-05-13   29: --my deck
66041c9b2e 2023-05-13   30: Debug.AddCard(50457953,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
4e72b3b187 2023-05-13   31: Debug.AddCard(02295440,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
4e72b3b187 2023-05-13   32: Debug.AddCard(51790181,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
4e72b3b187 2023-05-13   33: Debug.AddCard(61632317,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
66041c9b2e 2023-05-13   34: 
66041c9b2e 2023-05-13   35: --my grave
66041c9b2e 2023-05-13   36: Debug.AddCard(26400609,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
66041c9b2e 2023-05-13   37: Debug.AddCard(90411554,0,0,LOCATION_GRAVE,1,POS_FACEUP_ATTACK)
66041c9b2e 2023-05-13   38: Debug.AddCard(58695102,0,0,LOCATION_GRAVE,2,POS_FACEUP_ATTACK)
66041c9b2e 2023-05-13   39: Debug.AddCard(71692913,0,0,LOCATION_GRAVE,3,POS_FACEUP_ATTACK)
66041c9b2e 2023-05-13   40: Debug.AddCard(21615956,0,0,LOCATION_GRAVE,4,POS_FACEUP_ATTACK)
66041c9b2e 2023-05-13   41: Debug.AddCard(74677422,0,0,LOCATION_GRAVE,5,POS_FACEUP_ATTACK)
66041c9b2e 2023-05-13   42: Debug.AddCard(01833916,0,0,LOCATION_GRAVE,6,POS_FACEUP_ATTACK)
66041c9b2e 2023-05-13   43: Debug.AddCard(14785765,0,0,LOCATION_GRAVE,7,POS_FACEUP_ATTACK)
66041c9b2e 2023-05-13   44: 
66041c9b2e 2023-05-13   45: --my extra
66041c9b2e 2023-05-13   46: Debug.AddCard(34408491,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
66041c9b2e 2023-05-13   47: Debug.AddCard(91949988,0,0,LOCATION_EXTRA,2,POS_FACEDOWN_ATTACK)
66041c9b2e 2023-05-13   48: Debug.AddCard(44405066,0,0,LOCATION_EXTRA,3,POS_FACEDOWN_ATTACK)
66041c9b2e 2023-05-13   49: Debug.AddCard(08809344,0,0,LOCATION_EXTRA,4,POS_FACEDOWN_ATTACK)
66041c9b2e 2023-05-13   50: Debug.AddCard(22110647,0,0,LOCATION_EXTRA,5,POS_FACEDOWN_ATTACK)
66041c9b2e 2023-05-13   51: 
66041c9b2e 2023-05-13   52: --ai mzone
66041c9b2e 2023-05-13   53: Debug.AddCard(38495396,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
66041c9b2e 2023-05-13   54: Debug.AddCard(89631139,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
66041c9b2e 2023-05-13   55: 
66041c9b2e 2023-05-13   56: --ai szone
66041c9b2e 2023-05-13   57: 
66041c9b2e 2023-05-13   58: --ai fzone
66041c9b2e 2023-05-13   59: Debug.AddCard(57554544,1,1,LOCATION_SZONE,5,POS_FACEUP_ATTACK)
66041c9b2e 2023-05-13   60: 
66041c9b2e 2023-05-13   61: Debug.ReloadFieldEnd()
66041c9b2e 2023-05-13   62: aux.BeginPuzzle()
64a3888584 2023-05-13   63: 
64a3888584 2023-05-13   64: Debug.ShowHint("从卡组中选择五张卡加入手卡!")
f9ada86ed4 2023-05-13   65: 
f9ada86ed4 2023-05-13   66: local e999=Effect.GlobalEffect()
f9ada86ed4 2023-05-13   67: e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
f9ada86ed4 2023-05-13   68: e999:SetCode(EVENT_DAMAGE)
f9ada86ed4 2023-05-13   69: e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
f9ada86ed4 2023-05-13   70: e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
f9ada86ed4 2023-05-13   71: Debug.ShowHint("残局群181175613") end)
f9ada86ed4 2023-05-13   72: Duel.RegisterEffect(e999,0)