Index: single/Eroldin_01_Mastering_the_Red_Dragons.lua ================================================================== --- single/Eroldin_01_Mastering_the_Red_Dragons.lua +++ single/Eroldin_01_Mastering_the_Red_Dragons.lua @@ -1,21 +1,23 @@ --[[message -卡数:12 -规则:大师3 A simple puzzle, which teaches a Red Dragon Archfiend line combo ]] +--~ 必须位于残局文件顶部 +--~ 加载残局函数库 +Debug.AddCard(0,0,0,LOCATION_MZONE,-1,POS_FACEUP) + --Mastering the Red Dragons Debug.SetAIName("Eroldin") Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI) Debug.SetPlayerInfo(0,100,0,0) Debug.SetPlayerInfo(1,9700,0,0) --Challenger's Spell zone Debug.AddCard(42079445,0,0,LOCATION_SZONE,1,POS_FACEDOWN) --Descending Lost Star -Debug.AddCard(76407432,0,0,LOCATION_SZONE,2,POS_FACEDOWN) --Assault Counter +Debug.AddCard(76407432,0,0,LOCATION_SZONE,2,POS_FACEDOWN) --Assault Counter Debug.AddCard(80280737,0,0,LOCATION_SZONE,3,POS_FACEDOWN) --Assault Mode Activate --Challenger's Hand Debug.AddCard(20474741,0,0,LOCATION_HAND,0,POS_FACEUP) --Trident Warrior Debug.AddCard(57568840,0,0,LOCATION_HAND,0,POS_FACEUP) --Delta Flyer @@ -37,12 +39,8 @@ Debug.AddCard(44095762,1,1,LOCATION_SZONE,2,POS_FACEDOWN) --Mirror Force --Start the Puzzle Debug.ReloadFieldEnd() aux.BeginPuzzle() -local e999=Effect.GlobalEffect() -e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) -e999:SetCode(EVENT_DAMAGE) -e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end) -e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp) -Debug.ShowHint("残局群181175613") end) -Duel.RegisterEffect(e999,0) + + +fun["开局说明"]()