游戏王残局简化版

Annotation For base-2_衍生版_1.lua
Login

Annotation For base-2_衍生版_1.lua

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

bbc6711f61 2023-06-19    1: --[[message
bbc6711f61 2023-06-19    2: 卡数:11
bbc6711f61 2023-06-19    3: 规则:大师3
bbc6711f61 2023-06-19    4: ]]
bbc6711f61 2023-06-19    5: 
bbc6711f61 2023-06-19    6: Debug.SetAIName("base-2")
bbc6711f61 2023-06-19    7: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,3)
bbc6711f61 2023-06-19    8: Debug.SetPlayerInfo(0,3000,0,0)
bbc6711f61 2023-06-19    9: Debug.SetPlayerInfo(1,9700,0,0)
bbc6711f61 2023-06-19   10: Debug.AddCard(78835747,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
bbc6711f61 2023-06-19   11: Debug.AddCard(78835747,0,0,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
bbc6711f61 2023-06-19   12: Debug.AddCard(73130445,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
bbc6711f61 2023-06-19   13: Debug.AddCard(15978426,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
bbc6711f61 2023-06-19   14: Debug.AddCard(23693634,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
bbc6711f61 2023-06-19   15: Debug.AddCard(71645242,0,0,LOCATION_SZONE,5,POS_FACEUP_ATTACK)
bbc6711f61 2023-06-19   16: Debug.AddCard(64034255,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)
bbc6711f61 2023-06-19   17: Debug.AddCard(17330916,0,0,LOCATION_HAND,2,POS_FACEUP_ATTACK)
bbc6711f61 2023-06-19   18: Debug.AddCard(19508728,0,0,LOCATION_HAND,3,POS_FACEUP_ATTACK)
bbc6711f61 2023-06-19   19: Debug.AddCard(40318957,0,0,LOCATION_HAND,4,POS_FACEUP_ATTACK)
bbc6711f61 2023-06-19   20: Debug.AddCard(69211541,0,0,LOCATION_HAND,5,POS_FACEUP_ATTACK)
bbc6711f61 2023-06-19   21: Debug.ReloadFieldEnd()
bbc6711f61 2023-06-19   22: aux.BeginPuzzle()
bbc6711f61 2023-06-19   23: 
bbc6711f61 2023-06-19   24: local str = {}
bbc6711f61 2023-06-19   25: local fun = {}
bbc6711f61 2023-06-19   26: 
bbc6711f61 2023-06-19   27: local cache_1
bbc6711f61 2023-06-19   28: 
bbc6711f61 2023-06-19   29: fun["通关邀请"] = function()
bbc6711f61 2023-06-19   30:   local effect_100
bbc6711f61 2023-06-19   31:   effect_100 = Effect.GlobalEffect()
bbc6711f61 2023-06-19   32:   effect_100:SetType(EFFECT_TYPE_FIELD
bbc6711f61 2023-06-19   33:     + EFFECT_TYPE_CONTINUOUS)
bbc6711f61 2023-06-19   34:   effect_100:SetCode(EVENT_DAMAGE)
bbc6711f61 2023-06-19   35:   function cache_1(effect_event
bbc6711f61 2023-06-19   36:     , player_for_activate_the_effect
bbc6711f61 2023-06-19   37:     , card_gruop_for_effect
bbc6711f61 2023-06-19   38:     , player_for_effect_event
bbc6711f61 2023-06-19   39:     , value_for_effect
bbc6711f61 2023-06-19   40:     , effect_for_trigger
bbc6711f61 2023-06-19   41:     , reason_for_trigger
bbc6711f61 2023-06-19   42:     , player_for_trigger)
bbc6711f61 2023-06-19   43: 
bbc6711f61 2023-06-19   44:     cache_1 = Duel.GetLP(1)
bbc6711f61 2023-06-19   45: 
bbc6711f61 2023-06-19   46:     return cache_1 <= 0
bbc6711f61 2023-06-19   47:     end
bbc6711f61 2023-06-19   48:   effect_100:SetCondition(cache_1)
bbc6711f61 2023-06-19   49:   function cache_1(effect_event
bbc6711f61 2023-06-19   50:     , player_for_activate_the_effect
bbc6711f61 2023-06-19   51:     , card_gruop_for_effect
bbc6711f61 2023-06-19   52:     , player_for_effect_event
bbc6711f61 2023-06-19   53:     , value_for_effect
bbc6711f61 2023-06-19   54:     , effect_for_trigger
bbc6711f61 2023-06-19   55:     , reason_for_trigger
bbc6711f61 2023-06-19   56:     , player_for_trigger)
bbc6711f61 2023-06-19   57:     Debug.ShowHint("残局群181175613")
bbc6711f61 2023-06-19   58:     return
bbc6711f61 2023-06-19   59:     end
bbc6711f61 2023-06-19   60:   effect_100:SetOperation(cache_1)
bbc6711f61 2023-06-19   61:   Duel.RegisterEffect(effect_100
bbc6711f61 2023-06-19   62:     , 0)
bbc6711f61 2023-06-19   63:   end
bbc6711f61 2023-06-19   64: 
bbc6711f61 2023-06-19   65: fun["通关邀请"]()
bbc6711f61 2023-06-19   66: