游戏王残局简化版

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

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

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

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