游戏王残局简化版

Amazoness Wall.lua at [52677d298c]
Login

Amazoness Wall.lua at [52677d298c]

File single/Amazoness Wall.lua artifact 05df7db83f part of check-in 52677d298c


--[[message
卡数:16
规则:大师2020
]]
Debug.SetAIName("Amazoness Wall")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,5)
Debug.SetPlayerInfo(0,1100,0,0)
Debug.SetPlayerInfo(1,8500,0,0)


Debug.AddCard(79965360,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(15951532,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(47480070,0,0,LOCATION_DECK,0,POS_FACEDOWN)

Debug.AddCard(89567993,0,0,LOCATION_DECK,0,POS_FACEDOWN)




Debug.AddCard(712559,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(81325903,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(71209500,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(94004268,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(31102447,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(32807846,0,0,LOCATION_HAND,0,POS_FACEDOWN)



Debug.AddCard(42566602,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK,true)
Debug.AddCard(31178212,0,0,LOCATION_MZONE,1,POS_FACEUP_ATTACK,true)


Debug.AddCard(80604091,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
Debug.AddCard(57312333,0,0,LOCATION_SZONE,3,POS_FACEDOWN)
Debug.AddCard(63516460,0,0,LOCATION_SZONE,1,POS_FACEDOWN)




Debug.AddCard(99645428,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK,true)
Debug.AddCard(58400390,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK,true)
Debug.AddCard(15734813,1,1,LOCATION_MZONE,1,POS_FACEUP_DEFENSE,true)
Debug.AddCard(3797883,1,1,LOCATION_MZONE,4,POS_FACEUP_ATTACK,true)
Debug.AddCard(80495985,1,1,LOCATION_MZONE,0,POS_FACEUP_ATTACK,true)


Debug.AddCard(44947065,1,1,LOCATION_SZONE,2,POS_FACEUP)

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["通关邀请"]()