游戏王残局简化版

base-2_衍生版_2.lua at [0b85c0d072]
Login

base-2_衍生版_2.lua at [0b85c0d072]

File single/base-2_衍生版_2.lua artifact 96deadfaeb part of check-in 0b85c0d072


--[[message
卡数:12
规则:大师3
]]

Debug.SetAIName("base-2")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,3)
Debug.SetPlayerInfo(0,3000,0,0)
Debug.SetPlayerInfo(1,39800,0,0)
Debug.AddCard(7799906,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(78835747,0,0,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
local m1=Debug.AddCard(32965616,1,1,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
Debug.PreSummon(m1, SUMMON_TYPE_SPECIAL)
Debug.AddCard(73130445,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(15978426,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(23693634,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(71645242,0,0,LOCATION_SZONE,5,POS_FACEUP_ATTACK)
Debug.AddCard(64034255,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)
Debug.AddCard(17330916,0,0,LOCATION_HAND,2,POS_FACEUP_ATTACK)
Debug.AddCard(79068663,0,0,LOCATION_HAND,3,POS_FACEUP_ATTACK)
Debug.AddCard(40318957,0,0,LOCATION_HAND,4,POS_FACEUP_ATTACK)
Debug.AddCard(69211541,0,0,LOCATION_HAND,5,POS_FACEUP_ATTACK)
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)