Index: single/Dragonmaids vs Dragons_衍生版_1.lua ================================================================== --- single/Dragonmaids vs Dragons_衍生版_1.lua +++ single/Dragonmaids vs Dragons_衍生版_1.lua @@ -1,9 +1,12 @@ --[[message 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) @@ -34,50 +37,5 @@ Debug.AddCard(99267151,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK) 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 e100 - e100=Effect.GlobalEffect() - e100:SetType(EFFECT_TYPE_FIELD - + EFFECT_TYPE_CONTINUOUS) - e100:SetCode(EVENT_DAMAGE) - function cache1(e - , tp - , eg - , ep - , ev - , re - , r - , rp) - cache1=Duel.GetLP(1) - return cache1<=0 - end - e100:SetCondition(cache1) - function cache1(e - , tp - , eg - , ep - , ev - , re - , r - , rp) - Debug.ShowHint("残局群181175613") - return - end - e100:SetOperation(cache1) - Duel.RegisterEffect(e100 - , 0) - end - - -fun["通关邀请"]() -