游戏王残局简化版

QB081 the frogs.lua at [72c02e08f7]
Login

QB081 the frogs.lua at [72c02e08f7]

File single/QB081 the frogs.lua artifact c92020faf0 part of check-in 72c02e08f7


--[[message
卡数:22
规则:大师3
]]
Debug.SetAIName("QB081 the frogs")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI, 3)
Debug.SetPlayerInfo(0,500,0,0)
Debug.SetPlayerInfo(1,10700,0,0)

Debug.AddCard(4239451,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(84451804,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(23408872,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(1357146,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)

Debug.AddCard(14785765,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
Debug.AddCard(95992081,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(10002346,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(34086406,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(36898537,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(26593852,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(34103656,0,0,LOCATION_SZONE,5,POS_FACEUP_ATTACK)
Debug.AddCard(96947648,0,0,LOCATION_SZONE,2,POS_FACEDOWN_ATTACK)
Debug.AddCard(70865988,0,0,LOCATION_SZONE,3,POS_FACEDOWN_ATTACK)
Debug.AddCard(4239451,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)
Debug.AddCard(64034255,0,0,LOCATION_HAND,1,POS_FACEUP_ATTACK)
Debug.AddCard(12525049,0,0,LOCATION_HAND,2,POS_FACEUP_ATTACK)
Debug.AddCard(9126351,0,0,LOCATION_HAND,3,POS_FACEUP_ATTACK)
Debug.AddCard(22842214,0,0,LOCATION_HAND,4,POS_FACEUP_ATTACK)
Debug.AddCard(26400609,0,0,LOCATION_HAND,5,POS_FACEUP_ATTACK)
Debug.AddCard(94415058,0,0,LOCATION_HAND,6,POS_FACEUP_ATTACK)
Debug.AddCard(6631034,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(94739788,1,1,LOCATION_SZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(94739788,1,1,LOCATION_SZONE,3,POS_FACEUP_ATTACK)
Debug.ReloadFieldEnd()
aux.BeginPuzzle()


local str = {}
local fun = {}

local cache_1

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()

    cache_1 = Duel.GetLP(1)

    if cache_1 <= 0 then
      cache_1 = true
    else
      cache_1 = false
      end

    return cache_1
    end
  effect_100:SetCondition(cache_1)
  function cache_1()
    Debug.ShowHint("残局群181175613")
    return
    end
  effect_100:SetOperation(cache_1)
  Duel.RegisterEffect(effect_100
    , 0)
  end




fun["通关邀请"]()