游戏王残局简化版

Dragonmaids vs Dragons_衍生版_1.lua at [1e14de5096]
Login

Dragonmaids vs Dragons_衍生版_1.lua at [1e14de5096]

File single/Dragonmaids vs Dragons_衍生版_1.lua artifact d20075366b part of check-in 1e14de5096


--[[message
卡数:24
规则:大师2020
This Puzzle is made by 闪光的白日梦 and optimized by Eroldin.
]]

Debug.SetAIName("闪光的白日梦")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,5)
Debug.SetPlayerInfo(0,1100,0,0)
Debug.SetPlayerInfo(1,24700,0,0)

Debug.AddCard(40110009,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(42055234,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(49575521,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(32600024,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(15848542,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
Debug.AddCard(24799107,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(41232647,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(14625090,0,0,LOCATION_SZONE,0,POS_FACEUP_ATTACK)
Debug.AddCard(62256492,0,0,LOCATION_SZONE,1,POS_FACEUP_ATTACK)
Debug.AddCard(62256492,0,0,LOCATION_SZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(77515704,0,0,LOCATION_SZONE,3,POS_FACEUP_ATTACK)
Debug.AddCard(56051086,0,0,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
Debug.AddCard(40398073,0,0,LOCATION_HAND,2,POS_FACEUP_ATTACK)
Debug.AddCard(76782778,0,0,LOCATION_HAND,3,POS_FACEUP_ATTACK)
Debug.AddCard(13171876,0,0,LOCATION_HAND,4,POS_FACEUP_ATTACK)
Debug.AddCard(80161395,0,0,LOCATION_HAND,5,POS_FACEUP_ATTACK)
Debug.AddCard(44095762,1,1,LOCATION_SZONE,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(99267151,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
Debug.AddCard(86780027,1,1,LOCATION_SZONE,1,POS_FACEUP_ATTACK)

Debug.AddCard(50913601,1,1,LOCATION_SZONE,5,POS_FACEUP_ATTACK)
Debug.AddCard(99267151,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
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["通关邀请"]()