Index: single/Dragonmaids vs Dragons_衍生版_2.lua ================================================================== --- single/Dragonmaids vs Dragons_衍生版_2.lua +++ single/Dragonmaids vs Dragons_衍生版_2.lua @@ -1,11 +1,13 @@ --[[message -卡数:27 -规则:大师2020 This Puzzle is made by 闪光的白日梦 and optimized by Eroldin. ]] +--~ 必须位于残局文件顶部 +--~ 加载残局函数库 +Debug.AddCard(0,0,0,LOCATION_MZONE,-1,POS_FACEUP) + Debug.SetAIName("闪光的白日梦") Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,5) Debug.SetPlayerInfo(0,1100,0,0) Debug.SetPlayerInfo(1,12900,0,0) @@ -39,51 +41,6 @@ Debug.AddCard(77910045,1,1,LOCATION_SZONE,4,POS_FACEUP_ATTACK) Debug.AddCard(10669138,1,1,LOCATION_MZONE,6,POS_FACEUP_ATTACK) Debug.ReloadFieldEnd() aux.BeginPuzzle() - - -local str = {} -local fun = {} - -local cache1 - -fun["通关邀请"]=function() - local effect_100 - effect_100 = Effect.GlobalEffect() - effect_100:SetType(EFFECT_TYPE_FIELD - + EFFECT_TYPE_CONTINUOUS) - effect_100:SetCode(EVENT_DAMAGE) - function cache_1(effect_event - , player_who_activate_the_effect - , card_gruop_for_effect - , player_for_effect_event - , value_for_effect - , effect_for_trigger - , reason_for_trigger - , player_who_trigger) - - cache_1 = Duel.GetLP(1) - - return cache_1 <= 0 - end - effect_100:SetCondition(cache_1) - function cache_1(effect_event - , player_who_activate_the_effect - , card_gruop_for_effect - , player_for_effect_event - , value_for_effect - , effect_for_trigger - , reason_for_trigger - , player_who_trigger) - Debug.ShowHint("残局群181175613") - return - end - effect_100:SetOperation(cache_1) - Duel.RegisterEffect(effect_100 - , 0) - end - - -fun["通关邀请"]() - +fun["开局说明"]()