Commit 0d4ab585 authored by kamijyoeast's avatar kamijyoeast Committed by GitHub

20210505_16:27_new lflist and skills reupload (#45)

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update lflist.conf
parent 0c968061
--高速决斗技能-中世纪机械 --高速决斗技能-中世纪机械
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730002.initial_effect(c) function c100730002.initial_effect(c)
aux.SpeedDuelMoveCardToFieldCommon(92001300,c) aux.SpeedDuelMoveCardToFieldCommon(37694547,c)
aux.RegisterSpeedDuelSkillCardCommon() aux.SpeedDuelMoveCardToFieldCommon(92001300,c)
end aux.RegisterSpeedDuelSkillCardCommon()
end
--高速决斗技能-恐龙王国 --高速决斗技能-恐龙王国
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730003.initial_effect(c) function c100730003.initial_effect(c)
aux.SpeedDuelMoveCardToFieldCommon(10080320,c) aux.SpeedDuelMoveCardToFieldCommon(10080320,c)
aux.RegisterSpeedDuelSkillCardCommon() aux.SpeedDuelMoveCardToFieldCommon(38589847,c)
end aux.RegisterSpeedDuelSkillCardCommon()
end
--高速决斗技能-攀登高峰 --高速决斗技能-攀登高峰
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730004.initial_effect(c) function c100730004.initial_effect(c)
aux.SpeedDuelMoveCardToFieldCommon(50913601,c) aux.SpeedDuelMoveCardToFieldCommon(50913601,c)
aux.RegisterSpeedDuelSkillCardCommon() aux.SpeedDuelMoveCardToFieldCommon(54178050,c)
end aux.RegisterSpeedDuelSkillCardCommon()
end
--高速决斗技能-新生宇宙 --高速决斗技能-新生宇宙
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730005.initial_effect(c) function c100730005.initial_effect(c)
aux.SpeedDuelMoveCardToFieldCommon(42015635,c) aux.SpeedDuelMoveCardToFieldCommon(43644025,c)
aux.RegisterSpeedDuelSkillCardCommon() aux.SpeedDuelMoveCardToFieldCommon(42015635,c)
end aux.SpeedDuelBeforeDraw(c,c100730005.skill)
aux.RegisterSpeedDuelSkillCardCommon()
end
function c100730005.skill(e,tp)
tp=e:GetLabelObject():GetOwner()
Duel.Hint(HINT_CARD,1-tp,100730005)
local c=Duel.CreateToken(tp,47274077)
Duel.SendtoHand(c,tp,REASON_RULE)
local tc=Duel.CreateToken(tp,14772491)
Duel.SSet(tp,tc)
e:Reset()
end
--高速决斗技能-暗之力 --高速决斗技能-暗之力
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730006.initial_effect(c) function c100730006.initial_effect(c)
aux.SpeedDuelMoveCardToFieldCommon(59197169,c) aux.SpeedDuelMoveCardToFieldCommon(59197169,c)
aux.RegisterSpeedDuelSkillCardCommon() aux.SpeedDuelMoveCardToFieldCommon(88851326,c)
end aux.RegisterSpeedDuelSkillCardCommon()
end
--高速决斗技能-鹰身女妖的狩猎场 --高速决斗技能-鹰身女妖的狩猎场
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730007.initial_effect(c) function c100730007.initial_effect(c)
aux.SpeedDuelMoveCardToFieldCommon(75782277,c) aux.SpeedDuelMoveCardToFieldCommon(75782277,c)
aux.RegisterSpeedDuelSkillCardCommon() aux.SpeedDuelMoveCardToFieldCommon(92881099,c)
end aux.RegisterSpeedDuelSkillCardCommon()
end
--高速决斗技能-扰乱之乡 --高速决斗技能-扰乱之乡
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730008.initial_effect(c) function c100730008.initial_effect(c)
aux.SpeedDuelMoveCardToFieldCommon(90011152,c) aux.SpeedDuelMoveCardToFieldCommon(90011152,c)
aux.RegisterSpeedDuelSkillCardCommon() aux.SpeedDuelMoveCardToFieldCommon(86780027,c)
end aux.RegisterSpeedDuelSkillCardCommon()
end
--高速决斗技能-墓孽生万物 --高速决斗技能-墓孽生万物
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730009.initial_effect(c) function c100730009.initial_effect(c)
--activate --activate
local e1=Effect.GlobalEffect() local e1=Effect.GlobalEffect()
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_PREDRAW) e1:SetCode(EVENT_PREDRAW)
e1:SetOperation(c100730009.operation) e1:SetOperation(c100730009.operation)
e1:SetLabel(50164989) e1:SetLabel(50164989)
e1:SetLabelObject(c) e1:SetLabelObject(c)
Duel.RegisterEffect(e1,0) Duel.RegisterEffect(e1,0)
end end
function c100730009.operation(e,tp,eg,ep,ev,re,r,rp) function c100730009.operation(e,tp,eg,ep,ev,re,r,rp)
local id=e:GetLabel() local id=e:GetLabel()
tp = e:GetLabelObject():GetOwner() tp = e:GetLabelObject():GetOwner()
local c=Duel.CreateToken(tp,id) local c=Duel.CreateToken(tp,id)
Duel.SendtoGrave(c,REASON_RULE) Duel.SendtoGrave(c,REASON_RULE)
e:Reset() e:Reset()
end end
\ No newline at end of file
--高速决斗技能-龙印·头 --高速决斗技能-龙印·头
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730010.initial_effect(c) function c100730010.initial_effect(c)
aux.SpeedDuelMoveCardToDeckCommon(63977008,c) aux.SpeedDuelMoveCardToDeckCommon(68431965,c)
aux.SpeedDuelMoveCardToDeckCommon(63977008,c) aux.SpeedDuelMoveCardToDeckCommon(63977008,c)
aux.SpeedDuelMoveCardToDeckCommon(44508094,c) aux.SpeedDuelMoveCardToDeckCommon(63977008,c)
aux.RegisterSpeedDuelSkillCardCommon() aux.SpeedDuelMoveCardToDeckCommon(44508094,c)
end aux.SpeedDuelMoveCardToDeckCommon(24696097,c)
aux.SpeedDuelMoveCardToDeckCommon(35952884,c)
aux.SpeedDuelMoveCardToDeckCommon(83994433,c)
aux.SpeedDuelMoveCardToDeckCommon(89474727,c)
aux.SpeedDuelMoveCardToDeckCommon(26268488,c)
aux.SpeedDuelMoveCardToDeckCommon(21123811,c)
aux.SpeedDuelMoveCardToDeckCommon(7841112,c)
aux.SpeedDuelMoveCardToDeckCommon(63180841,c)
aux.SpeedDuelMoveCardToDeckCommon(60025883,c)
aux.SpeedDuelMoveCardToDeckCommon(1686814,c)
aux.SpeedDuelMoveCardToFieldCommon(1003840,c)
aux.RegisterSpeedDuelSkillCardCommon()
end
\ No newline at end of file
--高速决斗技能-龙印·翼 --高速决斗技能-龙印·翼
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730011.initial_effect(c) function c100730011.initial_effect(c)
aux.SpeedDuelMoveCardToDeckCommon(97021916,c) aux.SpeedDuelMoveCardToDeckCommon(66141736,c)
aux.SpeedDuelMoveCardToDeckCommon(97021916,c) aux.SpeedDuelMoveCardToDeckCommon(76547525,c)
aux.SpeedDuelMoveCardToDeckCommon(70902743,c) aux.SpeedDuelMoveCardToDeckCommon(97021916,c)
aux.RegisterSpeedDuelSkillCardCommon() aux.SpeedDuelMoveCardToDeckCommon(97021916,c)
end aux.SpeedDuelMoveCardToDeckCommon(70902743,c)
aux.SpeedDuelMoveCardToDeckCommon(80666118,c)
aux.SpeedDuelMoveCardToDeckCommon(16172067,c)
aux.SpeedDuelMoveCardToDeckCommon(39765958,c)
aux.SpeedDuelMoveCardToDeckCommon(36857073,c)
aux.SpeedDuelMoveCardToDeckCommon(62242678,c)
aux.SpeedDuelMoveCardToDeckCommon(97489701,c)
aux.SpeedDuelMoveCardToDeckCommon(99585850,c)
aux.SpeedDuelMoveCardToDeckCommon(60025883,c)
aux.SpeedDuelMoveCardToDeckCommon(1686814,c)
aux.SpeedDuelMoveCardToFieldCommon(59593925,c)
aux.RegisterSpeedDuelSkillCardCommon()
end
--高速决斗技能-龙印·尾 --高速决斗技能-龙印·尾
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730012.initial_effect(c) function c100730012.initial_effect(c)
aux.SpeedDuelMoveCardToDeckCommon(22835145,c) aux.SpeedDuelMoveCardToDeckCommon(22835145,c)
aux.SpeedDuelMoveCardToDeckCommon(22835145,c) aux.SpeedDuelMoveCardToDeckCommon(22835145,c)
aux.SpeedDuelMoveCardToDeckCommon(9012916,c) aux.SpeedDuelMoveCardToDeckCommon(9012916,c)
aux.RegisterSpeedDuelSkillCardCommon() aux.SpeedDuelMoveCardToDeckCommon(60992105,c)
end aux.SpeedDuelMoveCardToDeckCommon(60025883,c)
aux.SpeedDuelMoveCardToDeckCommon(1686814,c)
aux.SpeedDuelMoveCardToFieldCommon(91351370,c)
aux.RegisterSpeedDuelSkillCardCommon()
end
--高速决斗技能-龙印·足 --高速决斗技能-龙印·足
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730013.initial_effect(c) function c100730013.initial_effect(c)
aux.SpeedDuelMoveCardToDeckCommon(66457407,c) aux.SpeedDuelMoveCardToDeckCommon(66457407,c)
aux.SpeedDuelMoveCardToDeckCommon(66457407,c) aux.SpeedDuelMoveCardToDeckCommon(66457407,c)
aux.SpeedDuelMoveCardToDeckCommon(73580471,c) aux.SpeedDuelMoveCardToDeckCommon(73580471,c)
aux.RegisterSpeedDuelSkillCardCommon() aux.SpeedDuelMoveCardToDeckCommon(33698022,c)
end aux.SpeedDuelMoveCardToDeckCommon(72218246,c)
aux.SpeedDuelMoveCardToDeckCommon(40139997,c)
aux.SpeedDuelMoveCardToDeckCommon(60025883,c)
aux.SpeedDuelMoveCardToDeckCommon(1686814,c)
aux.SpeedDuelMoveCardToFieldCommon(71645242,c)
aux.RegisterSpeedDuelSkillCardCommon()
end
--高速决斗技能-进化后的最强龙族 --高速决斗技能-龙印·爪
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730014.initial_effect(c) function c100730014.initial_effect(c)
aux.SpeedDuelMoveCardToDeckCommon(23995346,c) aux.SpeedDuelMoveCardToDeckCommon(11747708,c)
aux.SpeedDuelMoveCardToDeckCommon(56532353,c) aux.SpeedDuelMoveCardToDeckCommon(11747708,c)
aux.RegisterSpeedDuelSkillCardCommon() aux.SpeedDuelMoveCardToDeckCommon(25862681,c)
end aux.SpeedDuelMoveCardToDeckCommon(4179255,c)
aux.SpeedDuelMoveCardToDeckCommon(60025883,c)
aux.SpeedDuelMoveCardToDeckCommon(1686814,c)
aux.SpeedDuelMoveCardToFieldCommon(87624166,c)
aux.RegisterSpeedDuelSkillCardCommon()
end
--高速决斗技能-龙印·爪 --高速决斗技能-复仇末日龙
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730015.initial_effect(c) function c100730015.initial_effect(c)
aux.SpeedDuelMoveCardToDeckCommon(11747708,c) aux.SpeedDuelMoveCardToDeckCommon(85475641,c)
aux.SpeedDuelMoveCardToDeckCommon(11747708,c) aux.SpeedDuelMoveCardToDeckCommon(85475641,c)
aux.SpeedDuelMoveCardToDeckCommon(25862681,c) aux.SpeedDuelMoveCardToDeckCommon(81020646,c)
aux.RegisterSpeedDuelSkillCardCommon() aux.SpeedDuelMoveCardToDeckCommon(72896720,c)
end aux.SpeedDuelMoveCardToDeckCommon(38904695,c)
aux.SpeedDuelMoveCardToDeckCommon(50321796,c)
aux.SpeedDuelMoveCardToDeckCommon(52687916,c)
aux.SpeedDuelMoveCardToDeckCommon(70980824,c)
aux.SpeedDuelMoveCardToFieldCommon(40555959,c)
aux.RegisterSpeedDuelSkillCardCommon()
end
--高速决斗技能-上吧!御用守护者 --高速决斗技能-上吧!御用守护者
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730016.initial_effect(c) function c100730016.initial_effect(c)
aux.SpeedDuelMoveCardToDeckCommon(60410769,c) aux.SpeedDuelMoveCardToDeckCommon(60410769,c)
aux.SpeedDuelMoveCardToDeckCommon(60410769,c) aux.SpeedDuelMoveCardToDeckCommon(60410769,c)
aux.SpeedDuelMoveCardToDeckCommon(7391448,c) aux.SpeedDuelMoveCardToDeckCommon(7391448,c)
aux.RegisterSpeedDuelSkillCardCommon() aux.SpeedDuelMoveCardToDeckCommon(7391448,c)
end aux.SpeedDuelMoveCardToFieldCommon(16227556,c)
aux.RegisterSpeedDuelSkillCardCommon()
end
--高速决斗技能-勇气与力量 --高速决斗技能-勇气与力量
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730017.initial_effect(c) function c100730017.initial_effect(c)
aux.SpeedDuelMoveCardToDeckCommon(57108202,c) aux.SpeedDuelMoveCardToDeckCommon(57108202,c)
aux.SpeedDuelMoveCardToDeckCommon(57108202,c) aux.SpeedDuelMoveCardToDeckCommon(57108202,c)
aux.SpeedDuelMoveCardToDeckCommon(2403771,c) aux.SpeedDuelMoveCardToDeckCommon(2403771,c)
aux.RegisterSpeedDuelSkillCardCommon() aux.SpeedDuelMoveCardToDeckCommon(68084557,c)
end aux.SpeedDuelMoveCardToDeckCommon(25165047,c)
aux.SpeedDuelMoveCardToDeckCommon(60025883,c)
aux.SpeedDuelMoveCardToDeckCommon(1686814,c)
aux.SpeedDuelMoveCardToFieldCommon(56074358,c)
aux.SpeedDuelMoveCardToFieldCommon(28284902,c)
aux.RegisterSpeedDuelSkillCardCommon()
end
--高速决斗技能-你被捕了! --高速决斗技能-你被捕了!
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730018.initial_effect(c) function c100730018.initial_effect(c)
--activate --activate
local e1=Effect.GlobalEffect() local e1=Effect.GlobalEffect()
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_PREDRAW) e1:SetCode(EVENT_PREDRAW)
e1:SetOperation(c100730018.skill) e1:SetOperation(c100730018.skill)
e1:SetLabelObject(c) e1:SetLabelObject(c)
Duel.RegisterEffect(e1,0) Duel.RegisterEffect(e1,0)
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
end end
function c100730018.skill(e,tp,eg,ep,ev,re,r,rp) function c100730018.skill(e,tp,eg,ep,ev,re,r,rp)
tp = e:GetLabelObject():GetOwner() tp = e:GetLabelObject():GetOwner()
local g=Group.CreateGroup() local g=Group.CreateGroup()
local c=Duel.CreateToken(tp,7391448) local c=Duel.CreateToken(tp,7391448)
g:AddCard(c) g:AddCard(c)
aux.CardAddedBySkill:AddCard(c) aux.CardAddedBySkill:AddCard(c)
c=Duel.CreateToken(tp,58901502) c=Duel.CreateToken(tp,58901502)
g:AddCard(c) g:AddCard(c)
aux.CardAddedBySkill:AddCard(c) aux.CardAddedBySkill:AddCard(c)
c=Duel.CreateToken(tp,63364266) c=Duel.CreateToken(tp,63364266)
g:AddCard(c) g:AddCard(c)
aux.CardAddedBySkill:AddCard(c) aux.CardAddedBySkill:AddCard(c)
c=Duel.CreateToken(tp,84305651) c=Duel.CreateToken(tp,84305651)
g:AddCard(c) g:AddCard(c)
aux.CardAddedBySkill:AddCard(c) aux.CardAddedBySkill:AddCard(c)
c=Duel.CreateToken(tp,98637386) c=Duel.CreateToken(tp,98637386)
g:AddCard(c) g:AddCard(c)
aux.CardAddedBySkill:AddCard(c) aux.CardAddedBySkill:AddCard(c)
Duel.SendtoDeck(g,nil,-1,REASON_RULE) Duel.SendtoDeck(g,nil,-1,REASON_RULE)
local g2=g:RandomSelect(tp,3) local g2=g:RandomSelect(tp,3)
Duel.Exile(g2,REASON_RULE) Duel.Exile(g2,REASON_RULE)
e:Reset() Duel.Hint(HINT_CARD,1-tp,100730018)
end local d=Duel.CreateToken(tp,11429811)
Duel.SSet(tp,d)
e:Reset()
end
--高速决斗技能-爷爷的卡 --高速决斗技能-爷爷的卡
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730019.initial_effect(c) function c100730019.initial_effect(c)
aux.SpeedDuelMoveCardToDeckCommon(33396948,c) aux.SpeedDuelMoveCardToDeckCommon(33396948,c)
aux.SpeedDuelMoveCardToDeckCommon(7902349,c) aux.SpeedDuelMoveCardToDeckCommon(7902349,c)
aux.SpeedDuelMoveCardToDeckCommon(8124921,c) aux.SpeedDuelMoveCardToDeckCommon(8124921,c)
aux.SpeedDuelMoveCardToDeckCommon(44519536,c) aux.SpeedDuelMoveCardToDeckCommon(44519536,c)
aux.SpeedDuelMoveCardToDeckCommon(70903634,c) aux.SpeedDuelMoveCardToDeckCommon(70903634,c)
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
end end
--高速决斗技能-见见我的家人吧! --高速决斗技能-见见我的家人吧!
function c100730020.initial_effect(c) function c100730020.initial_effect(c)
aux.SpeedDuelMoveCardToDeckCommon(7093411,c) aux.SpeedDuelMoveCardToDeckCommon(7093411,c)
aux.SpeedDuelMoveCardToDeckCommon(21698716,c) aux.SpeedDuelMoveCardToDeckCommon(21698716,c)
aux.SpeedDuelMoveCardToDeckCommon(32710364,c) aux.SpeedDuelMoveCardToDeckCommon(32710364,c)
aux.SpeedDuelMoveCardToDeckCommon(32933942,c) aux.SpeedDuelMoveCardToDeckCommon(32933942,c)
aux.SpeedDuelMoveCardToDeckCommon(36795102,c) aux.SpeedDuelMoveCardToDeckCommon(36795102,c)
aux.SpeedDuelMoveCardToDeckCommon(68215963,c) aux.SpeedDuelMoveCardToDeckCommon(68215963,c)
aux.SpeedDuelMoveCardToDeckCommon(69937550,c) aux.SpeedDuelMoveCardToDeckCommon(69937550,c)
aux.SpeedDuelMoveCardToDeckCommon(95600067,c) aux.SpeedDuelMoveCardToDeckCommon(95600067,c)
aux.RegisterSpeedDuelSkillCardCommon() aux.SpeedDuelMoveCardToFieldCommon(47408488,c)
aux.SpeedDuelMoveCardToFieldCommon(34487429,c)
aux.RegisterSpeedDuelSkillCardCommon()
end end
\ No newline at end of file
--高速决斗技能-生命增加α --高速决斗技能-生命增加α
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730021.initial_effect(c) function c100730021.initial_effect(c)
aux.SpeedDuelBeforeDraw(c,c100730021.skill) aux.SpeedDuelBeforeDraw(c,c100730021.skill)
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
end end
function c100730021.skill(e,tp,eg,ep,ev,re,r,rp) function c100730021.skill(e,tp,eg,ep,ev,re,r,rp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
local lp=Duel.GetLP(tp) Duel.Hint(HINT_CARD,1-tp,100730023)
Duel.SetLP(tp,lp+1000) local lp=Duel.GetLP(tp)
e:Reset() Duel.SetLP(tp,lp+1500)
e:Reset()
end end
\ No newline at end of file
--高速决斗技能-生命增加α --高速决斗技能-生命增加α
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730022.initial_effect(c) function c100730022.initial_effect(c)
aux.SpeedDuelBeforeDraw(c,c100730022.skill) aux.SpeedDuelBeforeDraw(c,c100730022.skill)
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
end end
function c100730022.skill(e,tp,eg,ep,ev,re,r,rp) function c100730022.skill(e,tp,eg,ep,ev,re,r,rp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
local lp=Duel.GetLP(tp) Duel.Hint(HINT_CARD,1-tp,100730022)
Duel.SetLP(tp,lp+1500) local lp=Duel.GetLP(tp)
local g=Duel.GetMatchingGroup(aux.TRUE,tp,LOCATION_HAND,0,nil) Duel.SetLP(tp,lp+3500)
g=g:RandomSelect(tp,1) local g=Duel.GetMatchingGroup(aux.TRUE,tp,LOCATION_HAND,0,nil)
aux.SpeedDuelSendToDeckWithExile(tp,g) g=g:RandomSelect(tp,1)
e:Reset() aux.SpeedDuelSendToDeckWithExile(tp,g)
local c=Duel.CreateToken(tp,20871001)
aux.SpeedDuelSendToHandWithExile(tp,c)
e:Reset()
end end
\ No newline at end of file
--高速决斗技能-生命增加γ --高速决斗技能-生命增加γ
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730023.initial_effect(c) function c100730023.initial_effect(c)
aux.SpeedDuelBeforeDraw(c,c100730023.skill) aux.SpeedDuelBeforeDraw(c,c100730023.skill)
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
end end
function c100730023.skill(e,tp,eg,ep,ev,re,r,rp) function c100730023.skill(e,tp,eg,ep,ev,re,r,rp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
local lp=Duel.GetLP(tp) Duel.Hint(HINT_CARD,1-tp,100730023)
Duel.SetLP(tp,lp+2000) local lp=Duel.GetLP(tp)
local g=Duel.GetMatchingGroup(aux.TRUE,tp,LOCATION_HAND,0,nil) Duel.SetLP(tp,lp+5000)
g=g:RandomSelect(tp,2) local g=Duel.GetMatchingGroup(aux.TRUE,tp,LOCATION_HAND,0,nil)
aux.SpeedDuelSendToDeckWithExile(tp,g) g=g:RandomSelect(tp,2)
e:Reset() aux.SpeedDuelSendToDeckWithExile(tp,g)
local c=Duel.CreateToken(tp,38199696)
aux.SpeedDuelSendToHandWithExile(tp,c)
local c=Duel.CreateToken(tp,38199696)
aux.SpeedDuelSendToHandWithExile(tp,c)
e:Reset()
end end
\ No newline at end of file
--高速决斗技能-生命增加Ω --高速决斗技能-生命增加δ
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730024.initial_effect(c) function c100730024.initial_effect(c)
aux.SpeedDuelBeforeDraw(c,c100730024.skill) aux.SpeedDuelBeforeDraw(c,c100730024.skill)
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
end end
function c100730024.skill(e,tp,eg,ep,ev,re,r,rp) function c100730024.skill(e,tp,eg,ep,ev,re,r,rp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
local lp=Duel.GetLP(tp) Duel.Hint(HINT_CARD,1-tp,100730024)
Duel.SetLP(tp,lp+2500) local lp=Duel.GetLP(tp)
local g=Duel.GetMatchingGroup(aux.TRUE,tp,LOCATION_HAND,0,nil) Duel.SetLP(tp,lp+7500)
g=g:RandomSelect(tp,3) local g=Duel.GetMatchingGroup(aux.TRUE,tp,LOCATION_HAND,0,nil)
aux.SpeedDuelSendToDeckWithExile(tp,g) g=g:RandomSelect(tp,3)
e:Reset() aux.SpeedDuelSendToDeckWithExile(tp,g)
local c=Duel.CreateToken(tp,98535702)
aux.SpeedDuelSendToHandWithExile(tp,c)
local c=Duel.CreateToken(tp,98535702)
aux.SpeedDuelSendToHandWithExile(tp,c)
local c=Duel.CreateToken(tp,98535702)
aux.SpeedDuelSendToHandWithExile(tp,c)
e:Reset()
end end
\ No newline at end of file
--高速决斗技能-平衡 --高速决斗技能-生命增加Ω
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730025.initial_effect(c) function c100730025.initial_effect(c)
aux.SpeedDuelBeforeDraw(c,c100730025.skill) aux.SpeedDuelBeforeDraw(c,c100730025.skill)
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
end end
function c100730025.skill(e,tp) function c100730025.skill(e,tp,eg,ep,ev,re,r,rp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
if Duel.GetMatchingGroupCount(Card.IsType,tp,LOCATION_HAND+LOCATION_DECK,0,nil,TYPE_MONSTER)<6 then Duel.Hint(HINT_CARD,1-tp,100730025)
Duel.Hint(HINT_MESSAGE,tp,aux.Stringid(100730025,0)) local lp=Duel.GetLP(tp)
e:Reset() Duel.SetLP(tp,lp+10000)
return local g=Duel.GetMatchingGroup(aux.TRUE,tp,LOCATION_HAND,0,nil)
end g=g:RandomSelect(tp,4)
if Duel.GetMatchingGroupCount(Card.IsType,tp,LOCATION_HAND+LOCATION_DECK,0,nil,TYPE_SPELL)<6 then aux.SpeedDuelSendToDeckWithExile(tp,g)
Duel.Hint(HINT_MESSAGE,tp,aux.Stringid(100730025,1)) local c=Duel.CreateToken(tp,29389368)
e:Reset() aux.SpeedDuelSendToHandWithExile(tp,c)
return local c=Duel.CreateToken(tp,29389368)
end aux.SpeedDuelSendToHandWithExile(tp,c)
if Duel.GetMatchingGroupCount(Card.IsType,tp,LOCATION_HAND+LOCATION_DECK,0,nil,TYPE_TRAP)<6 then local c=Duel.CreateToken(tp,29389368)
Duel.Hint(HINT_MESSAGE,tp,aux.Stringid(100730025,2)) aux.SpeedDuelSendToHandWithExile(tp,c)
e:Reset() local c=Duel.CreateToken(tp,29389368)
return aux.SpeedDuelSendToHandWithExile(tp,c)
end e:Reset()
local g=Duel.GetMatchingGroup(aux.TRUE,tp,LOCATION_HAND,0,nil) end
if not g then return end \ No newline at end of file
local count=aux.SpeedDuelSendToDeckWithExile(tp,g)
local gm=Duel.GetMatchingGroup(Card.IsType,tp,LOCATION_DECK,0,nil,TYPE_MONSTER)
local gs=Duel.GetMatchingGroup(Card.IsType,tp,LOCATION_DECK,0,nil,TYPE_SPELL)
local gt=Duel.GetMatchingGroup(Card.IsType,tp,LOCATION_DECK,0,nil,TYPE_TRAP)
local gmc=gm:GetCount()
local gsc=gm:GetCount()
local gtc=gm:GetCount()
local sum=gmc+gsc+gtc
local resultM=count/sum*gmc
local resultMInt=math.floor(resultM)
local resultMSpare=resultM-resultMInt
local resultS=count/sum*gsc
local resultSInt=math.floor(resultS)
local resultSSpare=resultS-resultSInt
local resultT=count/sum*gtc
local resultTInt=math.floor(resultT)
local resultTSpare=resultS-resultSInt
local gResult=Group.CreateGroup()
local gtmp=gm:RandomSelect(tp,resultMInt)
gResult:Merge(gtmp)
gm:Sub(gtmp)
gtmp=gs:RandomSelect(tp,resultSInt)
gResult:Merge(gtmp)
gs:Sub(gtmp)
gtmp=gt:RandomSelect(tp,resultTInt)
gResult:Merge(gtmp)
gt:Sub(gtmp)
count=count-gResult:GetCount()
local most=Group.CreateGroup()
local second=Group.CreateGroup()
if resultMSpare>=resultSSpare and resultMSpare>=resultTSpare then
most:Merge(gm)
end
if (resultMSpare>=resultSSpare and resultMSpare<resultTSpare) or (resultMSpare<resultSSpare and resultMSpare>=resultTSpare)
or (resultMSpare<resultSSpare and resultMSpare<resultTSpare and resultSSpare==resultTSpare) then
second:Merge(gm)
end
if resultSSpare>=resultMSpare and resultSSpare>=resultTSpare then
most:Merge(gs)
end
if (resultSSpare>=resultMSpare and resultSSpare<resultTSpare) or (resultSSpare<resultMSpare and resultSSpare>=resultTSpare)
or (resultSSpare<resultMSpare and resultSSpare<resultTSpare and resultMSpare==resultTSpare) then
second:Merge(gs)
end
if resultTSpare>=resultSSpare and resultTSpare>=resultMSpare then
most:Merge(gt)
end
if (resultTSpare>=resultSSpare and resultTSpare<resultMSpare) or (resultTSpare<resultSSpare and resultTSpare>=resultMSpare)
or (resultTSpare<resultMSpare and resultTSpare<resultSSpare and resultSSpare==resultTSpare) then
second:Merge(gt)
end
gtmp=most:RandomSelect(tp,1)
gResult:Merge(gtmp)
if count>1 then
most:Sub(gtmp)
if second:GetCount()==0 then
second:Merge(most)
end
gtmp=second:RandomSelect(tp,1)
gResult:Merge(gtmp)
end
aux.SpeedDuelSendToHandWithExile(tp,gResult)
e:Reset()
end
--高速决斗技能-命运盘 --高速决斗技能-英雄有英雄战斗的舞台
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730026.initial_effect(c) function c100730026.initial_effect(c)
aux.SpeedDuelAtMainPhase(c,c100730026.skill,c100730026.con,aux.Stringid(100730026,0)) aux.SpeedDuelMoveCardToFieldCommon(63035430,c)
aux.RegisterSpeedDuelSkillCardCommon() aux.SpeedDuelMoveCardToFieldCommon(8951260,c)
end aux.RegisterSpeedDuelSkillCardCommon()
function c100730026.con(e,tp) end
tp=e:GetLabelObject():GetOwner()
return aux.SpeedDuelAtMainPhaseCondition(e,tp)
and Duel.IsExistingMatchingCard(Card.IsCode,tp,LOCATION_GRAVE,0,1,nil,31829185)
and Duel.GetLP(tp)<=2000
end
function c100730026.skill(e,tp)
tp=e:GetLabelObject():GetOwner()
Duel.Hint(HINT_MESSAGE,tp,aux.Stringid(100730026,0))
Duel.Hint(HINT_MESSAGE,1-tp,aux.Stringid(100730026,0))
local e1=Effect.GlobalEffect()
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_PHASE+PHASE_END)
e1:SetLabel(0)
e1:SetCountLimit(1,100730026+100)
e1:SetOperation(c100730026.skillwin)
Duel.RegisterEffect(e1,tp,true)
local e2=Effect.GlobalEffect()
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e2:SetCode(EVENT_ADJUST)
e2:SetLabelObject(e1)
e2:SetOperation(c100730026.skillstop)
Duel.RegisterEffect(e2,tp,true)
e:Reset()
end
function c100730026.skillwin(e,tp)
local count=e:GetLabel()
count=count+1
e:SetLabel(count)
Duel.Hint(HINT_MESSAGE,tp,aux.Stringid(100730026,count))
Duel.Hint(HINT_MESSAGE,1-tp,aux.Stringid(100730026,count))
if count==5 then Duel.SetLP(1-tp,0) end
end
function c100730026.skillstop(e,tp)
if Duel.IsExistingMatchingCard(Card.IsCode,tp,LOCATION_GRAVE,0,1,nil,31829185) then return end
e:GetLabelObject():Reset()
e:Reset()
end
\ No newline at end of file
--高速决斗技能-寄生虫感染 --高速决斗技能-被托付的卡
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730027.initial_effect(c) function c100730027.initial_effect(c)
aux.SpeedDuelBeforeDraw(c,c100730027.skill) aux.SpeedDuelBeforeDraw(c,c100730027.skill)
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
end end
function c100730027.filter(c,g) function c100730027.skill(e,tp)
if not c:IsRace(RACE_INSECT) then return false end tp = e:GetLabelObject():GetOwner()
local tc=g:GetFirst() local c=Duel.CreateToken(tp,24874630)
while tc do Duel.SendtoDeck(c,tp,0,REASON_RULE)
if c:GetOriginalCode()==tc:GetOriginalCode() then e:Reset()
return false
end
tc=g:GetNext()
end
g:AddCard(c)
return true
end
function c100730027.skill(e,tp)
local g=Group.CreateGroup()
if not Duel.IsExistingMatchingCard(c100730027.filter,tp,LOCATION_DECK+LOCATION_HAND,0,4,nil,g) then
Duel.Hint(HINT_MESSAGE,tp,aux.Stringid(100730027,0))
e:Reset()
return
end
tp=e:GetLabelObject():GetOwner()
local count=1
if Duel.TossCoin(tp,1)==1 then
count=2
end
while count>0 do
local parasite=Duel.CreateToken(tp,27911549)
Duel.DisableShuffleCheck()
Duel.SendtoDeck(parasite,1-tp,2,REASON_RULE)
parasite:ReverseInDeck()
count=count-1
end
Duel.ShuffleDeck(1-tp)
e:Reset()
end end
\ No newline at end of file
--高速决斗技能-准备决斗! --高速决斗技能-准备决斗!
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730028.initial_effect(c) function c100730028.initial_effect(c)
aux.SpeedDuelBeforeDraw(c,c100730028.skill) aux.SpeedDuelBeforeDraw(c,c100730028.skill)
aux.RegisterSpeedDuelSkillCardCommon() aux.SpeedDuelMoveCardToFieldCommon(56433456,c)
end aux.RegisterSpeedDuelSkillCardCommon()
function c100730028.skill(e,tp) end
tp=e:GetLabelObject():GetOwner() function c100730028.skill(e,tp)
local g=Duel.GetDecktopGroup(tp,1) tp=e:GetLabelObject():GetOwner()
aux.SpeedDuelSendToHandWithExile(tp,g) Duel.Hint(HINT_CARD,1-tp,100730028)
local g2=Duel.GetDecktopGroup(1-tp,1) local g=Duel.GetDecktopGroup(tp,1)
aux.SpeedDuelSendToHandWithExile(1-tp,g2) aux.SpeedDuelSendToHandWithExile(tp,g)
local g2=Duel.GetDecktopGroup(1-tp,1)
local count=1 aux.SpeedDuelSendToHandWithExile(1-tp,g2)
if Duel.GetTurnPlayer()~=tp then
count=2 local count=1
end if Duel.GetTurnPlayer()~=tp then
count=2
local e1=Effect.GlobalEffect() end
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) local e1=Effect.GlobalEffect()
e1:SetCode(EFFECT_CANNOT_SUMMON) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetReset(RESET_PHASE+PHASE_END,count) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetTargetRange(1,0) e1:SetCode(EFFECT_CANNOT_SUMMON)
Duel.RegisterEffect(e1,tp,true) e1:SetReset(RESET_PHASE+PHASE_END,count)
e1:SetTargetRange(1,0)
local e2=Effect.GlobalEffect() Duel.RegisterEffect(e1,tp,true)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_CANNOT_ACTIVATE) local e2=Effect.GlobalEffect()
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e2:SetType(EFFECT_TYPE_FIELD)
e2:SetTargetRange(1,0) e2:SetCode(EFFECT_CANNOT_ACTIVATE)
e2:SetCondition(c100730028.limcon) e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e2:SetValue(c100730028.limval) e2:SetTargetRange(1,0)
e2:SetReset(RESET_PHASE+PHASE_END,count) e2:SetCondition(c100730028.limcon)
Duel.RegisterEffect(e2,tp) e2:SetValue(c100730028.limval)
e2:SetReset(RESET_PHASE+PHASE_END,count)
end Duel.RegisterEffect(e2,tp)
function c100730028.limcon(e) e:Reset()
if count==2 then return Duel.GetTurnCount()==2 end end
return true function c100730028.limcon(e)
end if count==2 then return Duel.GetTurnCount()==2 end
function c100730028.limval(e,re,rp) return true
return true end
end function c100730028.limval(e,re,rp)
return true
end
--高速决斗技能-毅力 --高速决斗技能-毅力
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730029.initial_effect(c) function c100730029.initial_effect(c)
if not c100730029.reg then if not c100730029.reg then
c100730029.reg={} c100730029.reg={}
c100730029.turn={} c100730029.turn={}
c100730029.used={} c100730029.used={}
end end
aux.SpeedDuelBeforeDraw(c,c100730029.skill) aux.SpeedDuelBeforeDraw(c,c100730029.skill)
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
end end
function c100730029.skill(e,tp) function c100730029.skill(e,tp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
if Duel.GetLP(tp)>=4000 then if Duel.GetLP(tp)>=2000 then
c100730029.turn[tp]=Duel.GetTurnCount() c100730029.turn[tp]=Duel.GetTurnCount()
else else
c100730029.turn[tp]=-1 c100730029.turn[tp]=-1
end end
if not c100730029.reg[tp] then if not c100730029.reg[tp] then
c100730029.reg[tp]=true c100730029.reg[tp]=true
local e1=Effect.GlobalEffect() Duel.Hint(HINT_CARD,1-tp,100730029)
e1:SetType(EFFECT_TYPE_FIELD) local e1=Effect.GlobalEffect()
e1:SetCode(EFFECT_CHANGE_DAMAGE) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetCode(EFFECT_CHANGE_DAMAGE)
e1:SetTargetRange(1,0) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetValue(c100730029.val) e1:SetTargetRange(1,0)
e1:SetLabel(tp) e1:SetValue(c100730029.val)
Duel.RegisterEffect(e1,tp,true) e1:SetLabel(tp)
end Duel.RegisterEffect(e1,tp,true)
end end
end
function c100730029.val(e,re,dam,r,rp,rc)
local tp=e:GetLabel() function c100730029.val(e,re,dam,r,rp,rc)
if c100730029.used[tp] or c100730029.turn[tp]~=Duel.GetTurnCount() then return dam end local tp=e:GetLabel()
if dam>=Duel.GetLP(tp) then if c100730029.used[tp] or c100730029.turn[tp]~=Duel.GetTurnCount() then return dam end
c100730029.used[tp]=true if dam>=Duel.GetLP(tp) then
c100730029.limit(tp) c100730029.used[tp]=true
return Duel.GetLP(tp)-1 c100730029.limit(tp)
end return Duel.GetLP(tp)-1
return dam end
end return dam
end
function c100730029.limit(tp)
local count=1 function c100730029.limit(tp)
if Duel.GetTurnPlayer()~=tp then local count=1
count=2 if Duel.GetTurnPlayer()~=tp then
end count=2
local e1=Effect.GlobalEffect() end
e1:SetType(EFFECT_TYPE_FIELD) local e1=Effect.GlobalEffect()
e1:SetCode(EFFECT_SPSUMMON_COUNT_LIMIT) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetCode(EFFECT_SPSUMMON_COUNT_LIMIT)
e1:SetTargetRange(1,0) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetValue(1) e1:SetTargetRange(1,0)
e1:SetReset(RESET_PHASE+PHASE_END,count) e1:SetValue(1)
Duel.RegisterEffect(e1,tp,true) e1:SetReset(RESET_PHASE+PHASE_END,count)
end Duel.RegisterEffect(e1,tp,true)
end
--高速决斗技能-魔法专家 --高速决斗技能-魔法专家
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730030.initial_effect(c) function c100730030.initial_effect(c)
aux.SpeedDuelBeforeDraw(c,c100730030.skill) aux.SpeedDuelMoveCardToFieldCommon(4259068,c)
aux.RegisterSpeedDuelSkillCardCommon() aux.SpeedDuelBeforeDraw(c,c100730030.skill)
end aux.RegisterSpeedDuelSkillCardCommon()
function c100730030.filter(c,g) end
if not c:IsType(TYPE_SPELL) then return false end function c100730030.filter(c,g)
local tc=g:GetFirst() if not c:IsType(TYPE_SPELL) then return false end
while tc do local tc=g:GetFirst()
if c:GetOriginalCode()==tc:GetOriginalCode() then while tc do
return false if c:GetOriginalCode()==tc:GetOriginalCode() then
end return false
tc=g:GetNext() end
end tc=g:GetNext()
g:AddCard(c) end
return true g:AddCard(c)
end return true
function c100730030.skill(e,tp,eg,ep,ev,re,r,rp) end
tp=e:GetLabelObject():GetOwner() function c100730030.skill(e,tp,eg,ep,ev,re,r,rp)
local g=Group.CreateGroup() tp=e:GetLabelObject():GetOwner()
if not Duel.IsExistingMatchingCard(c100730030.filter,tp,LOCATION_DECK+LOCATION_HAND,0,5,nil,g) then local g=Group.CreateGroup()
Duel.Hint(HINT_MESSAGE,tp,aux.Stringid(100730030,0)) if not Duel.IsExistingMatchingCard(c100730030.filter,tp,LOCATION_DECK,0,5,nil,g) then
e:Reset() Duel.Hint(HINT_MESSAGE,tp,aux.Stringid(100730030,0))
return e:Reset()
end return
g=Duel.GetMatchingGroup(aux.TRUE,tp,LOCATION_HAND,0,nil) end
local count=aux.SpeedDuelSendToDeckWithExile(tp,g) Duel.Hint(HINT_CARD,1-tp,100730030)
local gA=Group.CreateGroup() g=Duel.GetMatchingGroup(aux.TRUE,tp,LOCATION_HAND,0,nil)
local gB=Group.CreateGroup() local count=aux.SpeedDuelSendToDeckWithExile(tp,g)
local gDeck=Duel.GetMatchingGroup(aux.TRUE,tp,LOCATION_DECK,0,nil) local gA=Group.CreateGroup()
gA=gDeck:RandomSelect(tp,2) local gB=Group.CreateGroup()
gDeck:Sub(gA) local gDeck=Duel.GetMatchingGroup(aux.TRUE,tp,LOCATION_DECK,0,nil)
gB=gDeck:RandomSelect(tp,4) gA=gDeck:RandomSelect(tp,2)
gDeck:Sub(gB) gDeck:Sub(gA)
local gBFinal=Group.CreateGroup() gB=gDeck:RandomSelect(tp,4)
if (not gA:IsExists(Card.IsType,1,nil,TYPE_SPELL)) and (gB:IsExists(Card.IsType,1,nil,TYPE_SPELL)) then gDeck:Sub(gB)
local tc=gB:GetFirst() local gBFinal=Group.CreateGroup()
local sp=nil if (not gA:IsExists(Card.IsType,1,nil,TYPE_SPELL)) and (gB:IsExists(Card.IsType,1,nil,TYPE_SPELL)) then
while tc do local tc=gB:GetFirst()
if tc:IsType(TYPE_SPELL) and sp==nil then local sp=nil
sp=tc while tc do
gBFinal:Merge(gA) if tc:IsType(TYPE_SPELL) and sp==nil then
gA:Clear() sp=tc
gA:AddCard(tc) gBFinal:Merge(gA)
tc=gB:GetNext() gA:Clear()
if not tc then gA:AddCard(tc)
tc=gDeck:RandomSelect(tp,1):GetFirst() tc=gB:GetNext()
break if not tc then
end tc=gDeck:RandomSelect(tp,1):GetFirst()
gA:AddCard(tc) break
else end
gBFinal:AddCard(tc) gA:AddCard(tc)
end else
tc=gB:GetNext() gBFinal:AddCard(tc)
end end
end tc=gB:GetNext()
if gA:GetCount()+gBFinal:GetCount()<count then end
local add=count-gA:GetCount()-gBFinal:GetCount() end
local gtmp=gDeck:RandomSelect(tp,add) if gA:GetCount()+gBFinal:GetCount()<count then
gBFinal:Merge(gtmp) local add=count-gA:GetCount()-gBFinal:GetCount()
end local gtmp=gDeck:RandomSelect(tp,add)
local fc=gA:GetFirst() gBFinal:Merge(gtmp)
while count>0 and fc do end
aux.SpeedDuelSendToHandWithExile(tp,fc) local fc=gA:GetFirst()
fc=gA:GetNext() while count>0 and fc do
count=count-1 aux.SpeedDuelSendToHandWithExile(tp,fc)
end fc=gA:GetNext()
fc=gBFinal:GetFirst() count=count-1
while count>0 and fc do end
aux.SpeedDuelSendToHandWithExile(tp,fc) fc=gBFinal:GetFirst()
fc=gBFinal:GetNext() while count>0 and fc do
count=count-1 aux.SpeedDuelSendToHandWithExile(tp,fc)
end fc=gBFinal:GetNext()
e:Reset() count=count-1
end
e:Reset()
end end
\ No newline at end of file
--高速决斗技能-电子流派 --高速决斗技能-电子流派
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730031.initial_effect(c) function c100730031.initial_effect(c)
aux.SpeedDuelAtMainPhase(c,c100730031.skill,c100730031.con,aux.Stringid(100730031,0)) aux.SpeedDuelAtMainPhase(c,c100730031.skill,c100730031.con,aux.Stringid(100730031,0))
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
end end
function c100730031.filter(c) function c100730031.filter(c)
return c:GetSequence()<5 return c:GetSequence()<5
end end
function c100730031.con(e,tp) function c100730031.con(e,tp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
local num=math.floor((4000-Duel.GetLP(tp))/1000) return aux.SpeedDuelAtMainPhaseCondition(e,tp)
return aux.SpeedDuelAtMainPhaseCondition(e,tp) and Duel.GetLP(tp)<=6000
and Duel.GetLP(tp)<=3000 and Duel.GetMZoneCount(tp)>0
and Duel.GetMZoneCount(tp)>0 end
end function c100730031.skill(e,tp)
function c100730031.skill(e,tp) tp=e:GetLabelObject():GetOwner()
tp=e:GetLabelObject():GetOwner() Duel.Hint(HINT_CARD,1-tp,100730031)
Duel.Hint(HINT_CARD,1-tp,100730031) local num=math.floor((8000-Duel.GetLP(tp))/2000)
local num=math.floor((4000-Duel.GetLP(tp))/1000) local max=3-Duel.GetMatchingGroupCount(c100730031.filter,tp,LOCATION_MZONE,0,nil)
local max=3-Duel.GetMatchingGroupCount(c100730031.filter,tp,LOCATION_MZONE,0,nil) if num>max then num=max end
if num>max then num=max end while num>0 do
while num>0 do local c=Duel.CreateToken(tp,26439287)
local c=Duel.CreateToken(tp,26439287) Duel.MoveToField(c,tp,tp,LOCATION_MZONE,POS_FACEUP_ATTACK,true)
Duel.MoveToField(c,tp,tp,LOCATION_MZONE,POS_FACEUP_ATTACK,true) local e1=Effect.CreateEffect(c)
local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_CANNOT_BE_SYNCHRO_MATERIAL)
e1:SetCode(EFFECT_CANNOT_BE_SYNCHRO_MATERIAL) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e1:SetReset(RESET_EVENT+RESETS_STANDARD)
e1:SetReset(RESET_EVENT+RESETS_STANDARD) e1:SetValue(1)
e1:SetValue(1) c:RegisterEffect(e1)
c:RegisterEffect(e1) local e2=e1:Clone()
local e2=e1:Clone() e2:SetCode(EFFECT_CANNOT_BE_LINK_MATERIAL)
e2:SetCode(EFFECT_CANNOT_BE_LINK_MATERIAL) c:RegisterEffect(e2)
c:RegisterEffect(e2) local e3=e1:Clone()
local e3=e1:Clone() e3:SetCode(EFFECT_CANNOT_BE_XYZ_MATERIAL)
e3:SetCode(EFFECT_CANNOT_BE_XYZ_MATERIAL) c:RegisterEffect(e3)
c:RegisterEffect(e3) local e5=e1:Clone()
local e5=e1:Clone() e5:SetCode(EFFECT_CANNOT_BE_SYNCHRO_MATERIAL)
e5:SetCode(EFFECT_CANNOT_BE_SYNCHRO_MATERIAL) c:RegisterEffect(e5)
c:RegisterEffect(e5) local e4=Effect.CreateEffect(c)
local e4=Effect.CreateEffect(c) e4:SetType(EFFECT_TYPE_SINGLE)
e4:SetType(EFFECT_TYPE_SINGLE) e4:SetCode(EFFECT_UNRELEASABLE_SUM)
e4:SetCode(EFFECT_UNRELEASABLE_SUM) e4:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e4:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e4:SetValue(1)
e4:SetValue(1) e4:SetReset(RESET_EVENT+RESETS_STANDARD)
e4:SetReset(RESET_EVENT+RESETS_STANDARD) c:RegisterEffect(e4)
c:RegisterEffect(e4) local e5=e1:Clone()
local e5=e1:Clone() e5:SetCode(EFFECT_UNRELEASABLE_NONSUM)
e5:SetCode(EFFECT_UNRELEASABLE_NONSUM) c:RegisterEffect(e5)
c:RegisterEffect(e5) num=num-1
num=num-1 end
end e:Reset()
e:Reset()
end end
\ No newline at end of file
--高速决斗技能-等级提升 --高速决斗技能-等级提升
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730032.initial_effect(c) function c100730032.initial_effect(c)
aux.SpeedDuelAtMainPhase(c,c100730032.skill,c100730032.con,aux.Stringid(100730032,0)) aux.SpeedDuelAtMainPhase(c,c100730032.skill,c100730032.con,aux.Stringid(100730032,0))
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
end end
function c100730032.filter(c) function c100730032.filter(c)
return c:IsType(TYPE_MONSTER) and c:IsLevelAbove(1) return c:IsType(TYPE_MONSTER) and c:IsLevelAbove(1)
end end
function c100730032.con(e,tp) function c100730032.con(e,tp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
return aux.SpeedDuelAtMainPhaseCondition(e,tp) return aux.SpeedDuelAtMainPhaseCondition(e,tp)
and Duel.IsExistingMatchingCard(c100730032.filter,tp,LOCATION_HAND,0,1,nil) and Duel.IsExistingMatchingCard(c100730032.filter,tp,LOCATION_HAND,0,1,nil)
and Duel.IsExistingMatchingCard(c100730032.filter,tp,LOCATION_MZONE,0,1,nil) and Duel.IsExistingMatchingCard(c100730032.filter,tp,LOCATION_MZONE,0,1,nil)
end end
function c100730032.skill(e,tp) function c100730032.skill(e,tp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
Duel.Hint(HINT_CARD,1-tp,100730049) Duel.Hint(HINT_CARD,1-tp,100730032)
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(100730032,1)) Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(100730032,1))
local source=Duel.SelectMatchingCard(tp,c100730032.filter,tp,LOCATION_HAND,0,1,1,nil):GetFirst() local source=Duel.SelectMatchingCard(tp,c100730032.filter,tp,LOCATION_HAND,0,1,1,nil):GetFirst()
Duel.ConfirmCards(1-tp,source) Duel.ConfirmCards(1-tp,source)
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(100730032,2)) Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(100730032,2))
local to=Duel.SelectMatchingCard(tp,c100730032.filter,tp,LOCATION_MZONE,0,1,1,nil):GetFirst() local to=Duel.SelectMatchingCard(tp,c100730032.filter,tp,LOCATION_MZONE,0,1,1,nil):GetFirst()
local e1=Effect.CreateEffect(to) local e1=Effect.CreateEffect(to)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_LEVEL) e1:SetCode(EFFECT_UPDATE_LEVEL)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetReset(RESET_EVENT+RESETS_STANDARD) e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
e1:SetValue(source:GetLevel()) e1:SetValue(source:GetLevel())
to:RegisterEffect(e1) to:RegisterEffect(e1)
e:Reset() Duel.ShuffleHand(tp)
end end
\ No newline at end of file
--高速决斗技能-直通墓穴 --高速决斗技能-直通墓穴
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730033.initial_effect(c) function c100730033.initial_effect(c)
aux.SpeedDuelMoveCardToFieldCommon(23424603,c) aux.SpeedDuelMoveCardToFieldCommon(23424603,c)
aux.RegisterSpeedDuelSkillCardCommon() aux.SpeedDuelMoveCardToFieldCommon(34646691,c)
end aux.RegisterSpeedDuelSkillCardCommon()
end
--高速决斗技能-战士的领域 --高速决斗技能-战士的领域
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730034.initial_effect(c) function c100730034.initial_effect(c)
aux.SpeedDuelMoveCardToFieldCommon(86318356,c) aux.SpeedDuelMoveCardToFieldCommon(86318356,c)
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
end end
--高速决斗技能-陷阱分堆 --高速决斗技能-陷阱分堆
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730035.initial_effect(c) function c100730035.initial_effect(c)
aux.SpeedDuelBeforeDraw(c,c100730035.skill) aux.SpeedDuelMoveCardToFieldCommon(17874674,c)
aux.RegisterSpeedDuelSkillCardCommon() aux.SpeedDuelBeforeDraw(c,c100730035.skill)
end aux.RegisterSpeedDuelSkillCardCommon()
function c100730035.filter(c,g) end
if not c:IsType(TYPE_TRAP) then return false end function c100730035.filter(c,g)
local tc=g:GetFirst() if not c:IsType(TYPE_TRAP) then return false end
while tc do local tc=g:GetFirst()
if c:GetOriginalCode()==tc:GetOriginalCode() then while tc do
return false if c:GetOriginalCode()==tc:GetOriginalCode() then
end return false
tc=g:GetNext() end
end tc=g:GetNext()
g:AddCard(c) end
return true g:AddCard(c)
end return true
function c100730035.skill(e,tp,eg,ep,ev,re,r,rp) end
tp=e:GetLabelObject():GetOwner() function c100730035.skill(e,tp,eg,ep,ev,re,r,rp)
local g=Group.CreateGroup() tp=e:GetLabelObject():GetOwner()
if not Duel.IsExistingMatchingCard(c100730035.filter,tp,LOCATION_DECK+LOCATION_HAND,0,5,nil,g) then local g=Group.CreateGroup()
Duel.Hint(HINT_MESSAGE,tp,aux.Stringid(100730035,0)) if not Duel.IsExistingMatchingCard(c100730035.filter,tp,LOCATION_DECK,0,5,nil,g) then
e:Reset() Duel.Hint(HINT_MESSAGE,tp,aux.Stringid(100730035,0))
return e:Reset()
end return
g=Duel.GetMatchingGroup(aux.TRUE,tp,LOCATION_HAND,0,nil) end
local count=aux.SpeedDuelSendToDeckWithExile(tp,g) Duel.Hint(HINT_CARD,1-tp,100730035)
local gA=Group.CreateGroup() g=Duel.GetMatchingGroup(aux.TRUE,tp,LOCATION_HAND,0,nil)
local gB=Group.CreateGroup() local count=aux.SpeedDuelSendToDeckWithExile(tp,g)
local gDeck=Duel.GetMatchingGroup(aux.TRUE,tp,LOCATION_DECK,0,nil) local gA=Group.CreateGroup()
gA=gDeck:RandomSelect(tp,2) local gB=Group.CreateGroup()
gDeck:Sub(gA) local gDeck=Duel.GetMatchingGroup(aux.TRUE,tp,LOCATION_DECK,0,nil)
gB=gDeck:RandomSelect(tp,4) gA=gDeck:RandomSelect(tp,2)
gDeck:Sub(gB) gDeck:Sub(gA)
local gBFinal=Group.CreateGroup() gB=gDeck:RandomSelect(tp,4)
if (not gA:IsExists(Card.IsType,1,nil,TYPE_TRAP)) and (gB:IsExists(Card.IsType,1,nil,TYPE_TRAP)) then gDeck:Sub(gB)
local tc=gB:GetFirst() local gBFinal=Group.CreateGroup()
local sp=nil if (not gA:IsExists(Card.IsType,1,nil,TYPE_TRAP)) and (gB:IsExists(Card.IsType,1,nil,TYPE_TRAP)) then
while tc do local tc=gB:GetFirst()
if tc:IsType(TYPE_TRAP) and sp==nil then local sp=nil
sp=tc while tc do
gBFinal:Merge(gA) if tc:IsType(TYPE_TRAP) and sp==nil then
gA:Clear() sp=tc
gA:AddCard(tc) gBFinal:Merge(gA)
tc=gB:GetNext() gA:Clear()
if not tc then gA:AddCard(tc)
tc=gDeck:RandomSelect(tp,1):GetFirst() tc=gB:GetNext()
break if not tc then
end tc=gDeck:RandomSelect(tp,1):GetFirst()
gA:AddCard(tc) break
else end
gBFinal:AddCard(tc) gA:AddCard(tc)
end else
tc=gB:GetNext() gBFinal:AddCard(tc)
end end
end tc=gB:GetNext()
if gA:GetCount()+gBFinal:GetCount()<count then end
local add=count-gA:GetCount()-gBFinal:GetCount() end
local gtmp=gDeck:RandomSelect(tp,add) if gA:GetCount()+gBFinal:GetCount()<count then
gBFinal:Merge(gtmp) local add=count-gA:GetCount()-gBFinal:GetCount()
end local gtmp=gDeck:RandomSelect(tp,add)
local fc=gA:GetFirst() gBFinal:Merge(gtmp)
while count>0 and fc do end
aux.SpeedDuelSendToHandWithExile(tp,fc) local fc=gA:GetFirst()
fc=gA:GetNext() while count>0 and fc do
count=count-1 aux.SpeedDuelSendToHandWithExile(tp,fc)
end fc=gA:GetNext()
fc=gBFinal:GetFirst() count=count-1
while count>0 and fc do end
aux.SpeedDuelSendToHandWithExile(tp,fc) fc=gBFinal:GetFirst()
fc=gBFinal:GetNext() while count>0 and fc do
count=count-1 aux.SpeedDuelSendToHandWithExile(tp,fc)
end fc=gBFinal:GetNext()
e:Reset() count=count-1
end
e:Reset()
end end
\ No newline at end of file
--高速决斗技能-我的怪兽卡 --高速决斗技能-我的怪兽卡
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730036.initial_effect(c) function c100730036.initial_effect(c)
aux.SpeedDuelBeforeDraw(c,c100730036.skill) aux.SpeedDuelMoveCardToFieldCommon(66865880,c)
aux.RegisterSpeedDuelSkillCardCommon() aux.SpeedDuelBeforeDraw(c,c100730036.skill)
end aux.RegisterSpeedDuelSkillCardCommon()
function c100730036.monfilter(c) end
return c:IsType(TYPE_MONSTER) and c:IsLevelBelow(4) function c100730036.monfilter(c)
end return c:IsType(TYPE_MONSTER) and c:IsLevelBelow(4)
function c100730036.filter(c,g) end
if not c100730036.monfilter(c) then return false end function c100730036.filter(c,g)
local tc=g:GetFirst() if not c100730036.monfilter(c) then return false end
while tc do local tc=g:GetFirst()
if c:GetOriginalCode()==tc:GetOriginalCode() then while tc do
return false if c:GetOriginalCode()==tc:GetOriginalCode() then
end return false
tc=g:GetNext() end
end tc=g:GetNext()
g:AddCard(c) end
return true g:AddCard(c)
end return true
function c100730036.skill(e,tp,eg,ep,ev,re,r,rp) end
tp=e:GetLabelObject():GetOwner() function c100730036.skill(e,tp,eg,ep,ev,re,r,rp)
local g=Group.CreateGroup() tp=e:GetLabelObject():GetOwner()
if not Duel.IsExistingMatchingCard(c100730036.filter,tp,LOCATION_DECK+LOCATION_HAND,0,6,nil,g) then local g=Group.CreateGroup()
Duel.Hint(HINT_MESSAGE,tp,aux.Stringid(100730036,0)) if not Duel.IsExistingMatchingCard(c100730036.filter,tp,LOCATION_DECK,0,6,nil,g) then
e:Reset() Duel.Hint(HINT_MESSAGE,tp,aux.Stringid(100730036,0))
return e:Reset()
end return
g=Duel.GetMatchingGroup(aux.TRUE,tp,LOCATION_HAND,0,nil) end
local count=aux.SpeedDuelSendToDeckWithExile(tp,g) Duel.Hint(HINT_CARD,1-tp,100730036)
local gA=Group.CreateGroup() g=Duel.GetMatchingGroup(aux.TRUE,tp,LOCATION_HAND,0,nil)
local gB=Group.CreateGroup() local count=aux.SpeedDuelSendToDeckWithExile(tp,g)
local gDeck=Duel.GetMatchingGroup(aux.TRUE,tp,LOCATION_DECK,0,nil) local gA=Group.CreateGroup()
gA=gDeck:RandomSelect(tp,2) local gB=Group.CreateGroup()
gDeck:Sub(gA) local gDeck=Duel.GetMatchingGroup(aux.TRUE,tp,LOCATION_DECK,0,nil)
gB=gDeck:RandomSelect(tp,5) gA=gDeck:RandomSelect(tp,2)
gDeck:Sub(gB) gDeck:Sub(gA)
local gBFinal=Group.CreateGroup() gB=gDeck:RandomSelect(tp,5)
if (not gA:IsExists(c100730036.monfilter,1,nil)) and (gB:IsExists(c100730036.monfilter,1,nil)) then gDeck:Sub(gB)
local tc=gB:GetFirst() local gBFinal=Group.CreateGroup()
local sp=nil if (not gA:IsExists(c100730036.monfilter,1,nil)) and (gB:IsExists(c100730036.monfilter,1,nil)) then
while tc do local tc=gB:GetFirst()
if c100730036.monfilter(tc) and sp==nil then local sp=nil
sp=tc while tc do
gBFinal:Merge(gA) if c100730036.monfilter(tc) and sp==nil then
gA:Clear() sp=tc
gA:AddCard(tc) gBFinal:Merge(gA)
tc=gB:GetNext() gA:Clear()
if not tc then gA:AddCard(tc)
tc=gDeck:RandomSelect(tp,1):GetFirst() tc=gB:GetNext()
break if not tc then
end tc=gDeck:RandomSelect(tp,1):GetFirst()
gA:AddCard(tc) break
else end
gBFinal:AddCard(tc) gA:AddCard(tc)
end else
tc=gB:GetNext() gBFinal:AddCard(tc)
end end
end tc=gB:GetNext()
if gA:GetCount()+gBFinal:GetCount()<count then end
local add=count-gA:GetCount()-gBFinal:GetCount() end
local gtmp=gDeck:RandomSelect(tp,add) if gA:GetCount()+gBFinal:GetCount()<count then
gBFinal:Merge(gtmp) local add=count-gA:GetCount()-gBFinal:GetCount()
end local gtmp=gDeck:RandomSelect(tp,add)
local fc=gA:GetFirst() gBFinal:Merge(gtmp)
while count>0 and fc do end
aux.SpeedDuelSendToHandWithExile(tp,fc) local fc=gA:GetFirst()
fc=gA:GetNext() while count>0 and fc do
count=count-1 aux.SpeedDuelSendToHandWithExile(tp,fc)
end fc=gA:GetNext()
fc=gBFinal:GetFirst() count=count-1
while count>0 and fc do end
aux.SpeedDuelSendToHandWithExile(tp,fc) fc=gBFinal:GetFirst()
fc=gBFinal:GetNext() while count>0 and fc do
count=count-1 aux.SpeedDuelSendToHandWithExile(tp,fc)
end fc=gBFinal:GetNext()
e:Reset() count=count-1
end
e:Reset()
end end
\ No newline at end of file
--高速决斗技能-假陷阱 --高速决斗技能-假陷阱
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730037.initial_effect(c) function c100730037.initial_effect(c)
if not c100730037.UsedLP then aux.SpeedDuelMoveCardToFieldCommon(66526672,c)
c100730037.UsedLP={} if not c100730037.UsedLP then
c100730037.UsedLP[0]=0 c100730037.UsedLP={}
c100730037.UsedLP[1]=0 c100730037.UsedLP[0]=0
end c100730037.UsedLP[1]=0
aux.SpeedDuelCalculateDecreasedLP() end
aux.SpeedDuelAtMainPhaseNoCountLimit(c,c100730037.skill,c100730037.con,aux.Stringid(100730037,0)) aux.SpeedDuelCalculateDecreasedLP()
aux.RegisterSpeedDuelSkillCardCommon() aux.SpeedDuelAtMainPhaseNoCountLimit(c,c100730037.skill,c100730037.con,aux.Stringid(100730037,0))
end aux.RegisterSpeedDuelSkillCardCommon()
end
function c100730037.con(e,tp)
tp=e:GetLabelObject():GetOwner() function c100730037.con(e,tp)
if not c100730037.testCard then tp=e:GetLabelObject():GetOwner()
Duel.DisableActionCheck(true) if not c100730037.testCard then
c100730037.testCard=Duel.CreateToken(tp,65810489) Duel.DisableActionCheck(true)
Duel.DisableActionCheck(false) c100730037.testCard=Duel.CreateToken(tp,65810489)
end Duel.DisableActionCheck(false)
return aux.SpeedDuelAtMainPhaseCondition(e,tp) end
and aux.DecreasedLP[tp]-c100730037.UsedLP[tp]>=1200 return aux.SpeedDuelAtMainPhaseCondition(e,tp)
and Duel.GetLocationCount(tp,LOCATION_SZONE)>0 and aux.DecreasedLP[tp]-c100730037.UsedLP[tp]>=1200
and c100730037.testCard:IsSSetable() and Duel.GetLocationCount(tp,LOCATION_SZONE)>0
end and c100730037.testCard:IsSSetable()
end
function c100730037.skill(e,tp)
tp=e:GetLabelObject():GetOwner() function c100730037.skill(e,tp)
c100730037.UsedLP[tp]=c100730037.UsedLP[tp]+1200 tp=e:GetLabelObject():GetOwner()
Duel.Hint(HINT_MESSAGE,tp,aux.Stringid(100730037,0)) c100730037.UsedLP[tp]=c100730037.UsedLP[tp]+1200
Duel.Hint(HINT_MESSAGE,1-tp,aux.Stringid(100730037,0)) Duel.Hint(HINT_MESSAGE,tp,aux.Stringid(100730037,0))
local c=Duel.CreateToken(tp,65810489) Duel.Hint(HINT_MESSAGE,1-tp,aux.Stringid(100730037,0))
Duel.SSet(tp,c) local c=Duel.CreateToken(tp,65810489)
Duel.SSet(tp,c)
end end
\ No newline at end of file
--高速决斗技能-无尽陷阱地狱 --高速决斗技能-无尽陷阱地狱
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730038.initial_effect(c) function c100730038.initial_effect(c)
aux.SpeedDuelAtMainPhase(c,c100730038.skill,c100730038.con,aux.Stringid(100730038,0)) aux.SpeedDuelMoveCardToFieldCommon(59237154,c)
aux.RegisterSpeedDuelSkillCardCommon() aux.SpeedDuelAtMainPhase(c,c100730038.skill,c100730038.con,aux.Stringid(100730038,0))
end aux.RegisterSpeedDuelSkillCardCommon()
end
function c100730038.filter1(c)
return c:IsType(TYPE_TRAP) and c:IsAbleToDeck() function c100730038.filter1(c)
end return c:IsType(TYPE_TRAP) and c:IsAbleToDeck()
end
function c100730038.filter2(c)
return c:IsType(TYPE_TRAP) and c:IsAbleToHand() function c100730038.filter2(c)
end return c:IsType(TYPE_TRAP) and c:IsAbleToHand()
end
function c100730038.con(e,tp)
tp=e:GetLabelObject():GetOwner() function c100730038.con(e,tp)
return aux.SpeedDuelAtMainPhaseCondition(e,tp) tp=e:GetLabelObject():GetOwner()
and Duel.IsExistingMatchingCard(Card.IsType,tp,LOCATION_GRAVE,0,3,nil,TYPE_TRAP) return aux.SpeedDuelAtMainPhaseCondition(e,tp)
and Duel.IsExistingMatchingCard(c100730038.filter1,tp,LOCATION_GRAVE,0,1,nil) and Duel.IsExistingMatchingCard(Card.IsType,tp,LOCATION_GRAVE,0,3,nil,TYPE_TRAP)
and Duel.IsExistingMatchingCard(c100730038.filter2,tp,LOCATION_GRAVE,0,1,nil) and Duel.IsExistingMatchingCard(c100730038.filter1,tp,LOCATION_GRAVE,0,1,nil)
end and Duel.IsExistingMatchingCard(c100730038.filter2,tp,LOCATION_GRAVE,0,1,nil)
end
function c100730038.skill(e,tp)
tp=e:GetLabelObject():GetOwner() function c100730038.skill(e,tp)
local g1=Duel.GetMatchingGroup(c100730038.filter1,tp,LOCATION_GRAVE,0,nil) tp=e:GetLabelObject():GetOwner()
local g2=Duel.GetMatchingGroup(c100730038.filter2,tp,LOCATION_GRAVE,0,nil) local g1=Duel.GetMatchingGroup(c100730038.filter1,tp,LOCATION_GRAVE,0,nil)
if not (g1 and g1:GetCount()>0 and g2 and g2:GetCount()>0) then return end local g2=Duel.GetMatchingGroup(c100730038.filter2,tp,LOCATION_GRAVE,0,nil)
local g3=g1:RandomSelect(tp,1) if not (g1 and g1:GetCount()>0 and g2 and g2:GetCount()>0) then return end
g2:Sub(g3) local g3=g1:RandomSelect(tp,1)
Duel.SendtoHand(g3,nil,REASON_RULE) g2:Sub(g3)
e:Reset() Duel.SendtoHand(g3,nil,REASON_RULE)
if g2:GetCount()<1 then return end Duel.SendtoDeck(g2,nil,2,REASON_RULE)
g3=g2:RandomSelect(tp,1)
Duel.SendtoDeck(g3,nil,2,REASON_RULE)
end end
\ No newline at end of file
--高速决斗技能-连锁反应 --高速决斗技能-连锁反应
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730039.initial_effect(c) function c100730039.initial_effect(c)
if not c100730039.chain then c100730039.chain={} end if not c100730039.chain then c100730039.chain={} end
aux.SpeedDuelBeforeDraw(c,c100730039.skill) aux.SpeedDuelBeforeDraw(c,c100730039.skill)
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
end end
function c100730039.skill(e,tp) function c100730039.skill(e,tp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
--damage --damage
local e1=Effect.GlobalEffect() local e1=Effect.GlobalEffect()
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_CHAINING) e1:SetCode(EVENT_CHAINING)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetCondition(c100730039.damcon) e1:SetCondition(c100730039.damcon)
e1:SetOperation(c100730039.regop) e1:SetOperation(c100730039.regop)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
local e2=Effect.GlobalEffect() local e2=Effect.GlobalEffect()
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e2:SetCode(EVENT_CHAIN_END) e2:SetCode(EVENT_CHAIN_END)
e2:SetOperation(c100730039.damop) e2:SetOperation(c100730039.damop)
Duel.RegisterEffect(e2,tp) Duel.RegisterEffect(e2,tp)
end end
function c100730039.regop(e,tp,eg,ep,ev,re,r,rp) function c100730039.regop(e,tp,eg,ep,ev,re,r,rp)
if rp==tp and not c100730039.chain[re] and re:IsHasType(EFFECT_TYPE_ACTIVATE) and re:IsActiveType(TYPE_TRAP) then if rp==tp and not c100730039.chain[re] and re:IsHasType(EFFECT_TYPE_ACTIVATE) and re:IsActiveType(TYPE_TRAP) then
c100730039.chain[re]=true c100730039.chain[re]=true
Duel.Hint(HINT_CARD,0,100730039) Duel.Hint(HINT_CARD,0,100730039)
local lp=Duel.GetLP(1-tp)-200 local lp=Duel.GetLP(1-tp)-350
if lp<0 then lp=0 end if lp<0 then lp=0 end
Duel.SetLP(1-tp,lp) Duel.SetLP(1-tp,lp)
end end
end end
function c100730039.damcon(e,tp,eg,ep,ev,re,r,rp) function c100730039.damcon(e,tp,eg,ep,ev,re,r,rp)
return ep==tp and re:IsHasType(EFFECT_TYPE_ACTIVATE) and re:IsActiveType(TYPE_TRAP) return ep==tp and re:IsHasType(EFFECT_TYPE_ACTIVATE) and re:IsActiveType(TYPE_TRAP)
end end
function c100730039.damop(e,tp,eg,ep,ev,re,r,rp) function c100730039.damop(e,tp,eg,ep,ev,re,r,rp)
c100730039.chain={} c100730039.chain={}
end end
--高速决斗技能-海之传说 --高速决斗技能-神秘深渊
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730040.initial_effect(c) function c100730040.initial_effect(c)
aux.SpeedDuelMoveCardToFieldCommon(22702055,c) aux.SpeedDuelMoveCardToFieldCommon(22702055,c)
aux.RegisterSpeedDuelSkillCardCommon() aux.SpeedDuelMoveCardToFieldCommon(18605135,c)
end aux.RegisterSpeedDuelSkillCardCommon()
end
--高速决斗技能-白龙变化 --高速决斗技能-白龙变化
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730041.initial_effect(c) function c100730041.initial_effect(c)
aux.SpeedDuelAtMainPhase(c,c100730041.skill,c100730041.con,aux.Stringid(100730041,0)) aux.SpeedDuelAtMainPhase(c,c100730041.skill,c100730041.con,aux.Stringid(100730041,0))
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
end end
function c100730041.IsBlueEyes(c) function c100730041.IsBlueEyes(c)
return c:IsOriginalCodeRule(89631139) and c:IsFaceup() return c:IsOriginalCodeRule(89631139) and c:IsFaceup()
end end
function c100730041.con(e,tp) function c100730041.con(e,tp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
return aux.SpeedDuelAtMainPhaseCondition(e,tp) return aux.SpeedDuelAtMainPhaseCondition(e,tp)
and Duel.IsExistingMatchingCard(c100730041.IsBlueEyes,tp,LOCATION_MZONE,0,1,nil) and Duel.IsExistingMatchingCard(c100730041.IsBlueEyes,tp,LOCATION_MZONE,0,1,nil)
and Duel.GetMZoneCount(tp)>-1 and Duel.GetMZoneCount(tp)>-1
end end
function c100730041.SequenceToZone(seq) function c100730041.SequenceToZone(seq)
return 1 << seq return 1 << seq
end end
function c100730041.skill(e,tp) function c100730041.skill(e,tp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
local g=Duel.SelectMatchingCard(tp,c100730041.IsBlueEyes,tp,LOCATION_MZONE,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c100730041.IsBlueEyes,tp,LOCATION_MZONE,0,1,1,nil)
if not g then return end if not g then return end
local tc=g:GetFirst() local tc=g:GetFirst()
local pos=tc:GetPosition() local pos=tc:GetPosition()
local seq=tc:GetSequence() local seq=tc:GetSequence()
Duel.Exile(tc,REASON_RULE) Duel.Exile(tc,REASON_RULE)
local newc=Duel.CreateToken(tp,38517737) local newc=Duel.CreateToken(tp,38517737)
Duel.MoveToField(newc,tp,tp,LOCATION_MZONE,pos,true) Duel.MoveToField(newc,tp,tp,LOCATION_MZONE,pos,true)
Duel.MoveSequence(newc,seq) Duel.MoveSequence(newc,seq)
e:Reset() end
end function c100730041.DisableMonsterZone(e,tp)
function c100730041.DisableMonsterZone(e,tp) return 0x1f-aux.SequenceToZone(tc:GetSequence())
return 0x1f-aux.SequenceToZone(tc:GetSequence()) end
end
--高速决斗技能-袖口藏卡 --高速决斗技能-袖口藏卡
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730042.initial_effect(c) function c100730042.initial_effect(c)
if not c100730042.use then if not c100730042.use then
c100730042.use={} c100730042.use={}
c100730042.use[0]=0 c100730042.use[0]=0
c100730042.use[1]=0 c100730042.use[1]=0
end end
aux.SpeedDuelBeforeDraw(c,c100730042.skill) aux.SpeedDuelBeforeDraw(c,c100730042.skill)
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
end end
function c100730042.skill(e,tp,eg,ep,ev,re,r,rp) function c100730042.skill(e,tp,eg,ep,ev,re,r,rp)
tp = e:GetLabelObject():GetOwner() tp = e:GetLabelObject():GetOwner()
local e1=Effect.GlobalEffect() local e1=Effect.GlobalEffect()
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_PREDRAW) e1:SetCode(EVENT_PREDRAW)
e1:SetCountLimit(1,100730042+100) e1:SetCountLimit(1,100730042+100)
e1:SetCondition(c100730042.skillcond) e1:SetCondition(c100730042.skillcond)
e1:SetOperation(c100730042.skillask) e1:SetOperation(c100730042.skillask)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
--draw count --draw count
local e2=Effect.GlobalEffect() local e2=Effect.GlobalEffect()
e2:SetType(EFFECT_TYPE_FIELD) e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_DRAW_COUNT) e2:SetCode(EFFECT_DRAW_COUNT)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e2:SetTargetRange(1,0) e2:SetTargetRange(1,0)
e2:SetLabel(tp) e2:SetLabel(tp)
e1:SetLabelObject(e2) e1:SetLabelObject(e2)
e2:SetLabelObject(e1) e2:SetLabelObject(e1)
e2:SetValue(c100730042.drval) e2:SetValue(c100730042.drval)
Duel.RegisterEffect(e2,tp) Duel.RegisterEffect(e2,tp)
local e3=Effect.GlobalEffect() local e3=Effect.GlobalEffect()
e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e3:SetCode(EVENT_BATTLE_DESTROYED) e3:SetCode(EVENT_BATTLE_DESTROYED)
e3:SetOperation(c100730042.reg) e3:SetOperation(c100730042.reg)
e3:SetLabelObject(e1) e3:SetLabelObject(e1)
Duel.RegisterEffect(e3,tp) Duel.RegisterEffect(e3,tp)
end end
function c100730042.reg(e,tp,eg,ep,ev,re,r,rp) function c100730042.reg(e,tp,eg,ep,ev,re,r,rp)
if e:GetLabelObject() and eg:IsExists(Card.IsLevelAbove,1,nil,7) and c100730042.use[tp]~=2 then if e:GetLabelObject() and eg:IsExists(Card.IsLevelAbove,1,nil,7) and c100730042.use[tp]~=2 then
c100730042.use[tp]=1 c100730042.use[tp]=1
end end
end end
function c100730042.skillcond(e,tp,eg,ep,ev,re,r,rp) function c100730042.skillcond(e,tp,eg,ep,ev,re,r,rp)
return c100730042.use[tp]>0 return c100730042.use[tp]>0
end end
function c100730042.skillask(e,tp,eg,ep,ev,re,r,rp) function c100730042.skillask(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetTurnPlayer()~=tp then return end if Duel.GetTurnPlayer()~=tp then return end
if c100730042.use[tp]==1 then if c100730042.use[tp]==1 then
if not Duel.SelectYesNo(tp,aux.Stringid(100730042,0)) then if not Duel.SelectYesNo(tp,aux.Stringid(100730042,0)) then
c100730042.use[tp]=0 c100730042.use[tp]=0
end end
return return
elseif c100730042.use[tp]==2 then elseif c100730042.use[tp]==2 then
e:GetLabelObject():Reset() e:GetLabelObject():Reset()
e:Reset() e:Reset()
return return
end end
end end
function c100730042.drval(e) function c100730042.drval(e)
local tp=e:GetLabel() local tp=e:GetLabel()
if c100730042.use[tp]==1 then if c100730042.use[tp]==1 then
c100730042.use[tp]=2 c100730042.use[tp]=2
return 2 return 2
end end
return 1 return 1
end end
--高速决斗技能-心灵扫描 --高速决斗技能-心灵扫描
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730043.initial_effect(c) function c100730043.initial_effect(c)
aux.SpeedDuelAtMainPhaseNoCountLimit(c,c100730043.skill,c100730043.con,aux.Stringid(100730043,0)) aux.SpeedDuelMoveCardToFieldCommon(34694160,c)
aux.RegisterSpeedDuelSkillCardCommon() aux.SpeedDuelAtMainPhaseNoCountLimit(c,c100730043.skill,c100730043.con,aux.Stringid(100730043,0))
end aux.RegisterSpeedDuelSkillCardCommon()
end
function c100730043.con(e,tp)
tp=e:GetLabelObject():GetOwner() function c100730043.con(e,tp)
return Duel.GetTurnCount()>=3 and Duel.GetCurrentChain()==0 tp=e:GetLabelObject():GetOwner()
and Duel.IsExistingMatchingCard(c100730043.filter,tp,0,LOCATION_ONFIELD,1,nil) return Duel.GetTurnCount()>=3 and Duel.GetCurrentChain()==0
and Duel.GetLP(tp)>=3000 and Duel.IsExistingMatchingCard(c100730043.filter,tp,0,LOCATION_ONFIELD,1,nil)
end and Duel.GetLP(tp)>=3000
end
function c100730043.filter(c)
return c:GetFlagEffect(100730043)==0 and c:GetFlagEffectLabel(100730043)~=c:GetFieldID() and c:IsFacedown() function c100730043.filter(c)
end return c:GetFlagEffect(100730043)==0 and c:GetFlagEffectLabel(100730043)~=c:GetFieldID() and c:IsFacedown()
end
function c100730043.reg(c)
c:RegisterFlagEffect(100730043,RESET_EVENT+RESETS_STANDARD+EVENT_FLIP,0,1,c:GetFieldID()) function c100730043.reg(c)
end c:RegisterFlagEffect(100730043,RESET_EVENT+RESETS_STANDARD+EVENT_FLIP,0,1,c:GetFieldID())
end
function c100730043.skill(e,tp)
tp=e:GetLabelObject():GetOwner() function c100730043.skill(e,tp)
local g=Duel.GetMatchingGroup(c100730043.filter,tp,0,LOCATION_ONFIELD,nil) tp=e:GetLabelObject():GetOwner()
if not g or g:GetCount()==0 then return end local g=Duel.GetMatchingGroup(c100730043.filter,tp,0,LOCATION_ONFIELD,nil)
g:ForEach(c100730043.reg) if not g or g:GetCount()==0 then return end
Duel.ConfirmCards(tp,g) g:ForEach(c100730043.reg)
Duel.ConfirmCards(tp,g)
end end
\ No newline at end of file
--高速决斗技能-反转痛苦 --高速决斗技能-天使的微笑
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730044.initial_effect(c) function c100730044.initial_effect(c)
aux.SpeedDuelAtMainPhaseNoCountLimit(c,c100730044.skill,c100730044.con,aux.Stringid(100730044,0)) aux.SpeedDuelAtMainPhase(c,c100730044.skill,c100730044.con,aux.Stringid(100730044,0))
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
if not c100730044.battle_damage then end
c100730044.battle_damage={} function c100730044.con(e,tp)
c100730044.battle_damage[0]=0 tp=e:GetLabelObject():GetOwner()
c100730044.battle_damage[1]=0 return aux.SpeedDuelAtMainPhaseCondition(e,tp)
c100730044.battle_damage[2]=0 and Duel.IsExistingMatchingCard(Card.IsRace,tp,LOCATION_HAND,0,1,nil,RACE_FAIRY)
c100730044.battle_damage[3]=0 end
end function c100730044.skill(e,tp,c)
local e1=Effect.GlobalEffect() tp=e:GetLabelObject():GetOwner()
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) Duel.Hint(HINT_CARD,1-tp,100730044)
e1:SetCode(EVENT_BATTLE_DAMAGE) local g=Duel.GetMatchingGroup(Card.IsCode,tp,LOCATION_HAND,0,1,nil,RACE_FAIRY)
e1:SetOperation(c100730044.damcal) local g1=g:Select(tp,1,1,nil)
Duel.RegisterEffect(e1,0) if g1 then
local e1=Effect.GlobalEffect() Duel.ConfirmCards(1-tp,g1)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) Duel.Recover(tp,1000,REASON_EFFECT)
e1:SetCode(EVENT_PHASE+PHASE_END) local g2=Duel.SelectMatchingCard(tp,Card.IsCode,tp,LOCATION_DECK+LOCATION_GRAVE,0,0,1,nil,2130625)
e1:SetOperation(c100730044.damcalreset) if g2:GetCount()==0 then return end
Duel.RegisterEffect(e1,0) Duel.SendtoHand(g2,tp,REASON_RULE)
end Duel.ConfirmCards(1-tp,g2)
end
function c100730044.damcal(e,tp,eg,ep,ev,re,r,rp)
c100730044.battle_damage[ep]=c100730044.battle_damage[ep]+ev
end
function c100730044.damcalreset(e,tp,eg,ep,ev,re,r,rp)
c100730044.battle_damage[2]=c100730044.battle_damage[0]
c100730044.battle_damage[3]=c100730044.battle_damage[1]
c100730044.battle_damage[0]=0
c100730044.battle_damage[1]=0
end
function c100730044.con(e,tp)
tp=e:GetLabelObject():GetOwner()
return aux.SpeedDuelAtMainPhaseCondition(e,tp)
and c100730044.battle_damage[tp+2]>0
and Duel.IsExistingMatchingCard(Card.IsFaceup,tp,LOCATION_MZONE,0,1,nil)
end
function c100730044.skill(e,tp)
tp=e:GetLabelObject():GetOwner()
Duel.Hint(HINT_SELECTMSG,HINTMSG_FACEUP)
local g=Duel.SelectMatchingCard(tp,Card.IsFaceup,tp,LOCATION_MZONE,0,1,1,nil)
if not g or g:GetCount()==0 then return end
local fc=g:GetFirst()
local e1=Effect.CreateEffect(fc)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_ATTACK)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
e1:SetValue(math.floor(c100730044.battle_damage[tp+2]/2))
fc:RegisterEffect(e1)
end end
\ No newline at end of file
--高速决斗技能-香水战术 --高速决斗技能-香水战术
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730045.initial_effect(c) function c100730045.initial_effect(c)
aux.SpeedDuelAtMainPhaseNoCountLimit(c,c100730045.skill,c100730045.con,aux.Stringid(100730045,0)) aux.SpeedDuelAtMainPhaseNoCountLimit(c,c100730045.skill,c100730045.con,aux.Stringid(100730045,0))
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
end end
function c100730045.filter(c) function c100730045.filter(c)
return c:GetFlagEffect(100730045)==0 and c:GetFlagEffectLabel(100730045)~=c:GetFieldID() and c:IsFacedown() return c:GetFlagEffect(100730045)==0 and c:GetFlagEffectLabel(100730045)~=c:GetFieldID() and c:IsFacedown()
end end
function c100730045.con(e,tp) function c100730045.con(e,tp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
return Duel.IsExistingMatchingCard(c100730045.filter,tp,LOCATION_DECK,0,1,nil) return Duel.IsExistingMatchingCard(c100730045.filter,tp,LOCATION_DECK,0,1,nil)
and Duel.GetLP(tp)>=3000 end
end
function c100730045.reg(c)
function c100730045.reg(c) c:RegisterFlagEffect(100730045,RESET_EVENT+RESETS_STANDARD+EVENT_FLIP,0,1,c:GetFieldID())
c:RegisterFlagEffect(100730045,RESET_EVENT+RESETS_STANDARD+EVENT_FLIP,0,1,c:GetFieldID()) end
end
function c100730045.skill(e,tp)
function c100730045.skill(e,tp) tp=e:GetLabelObject():GetOwner()
tp=e:GetLabelObject():GetOwner() Duel.Hint(HINT_CARD,1-tp,100730045)
local g=Duel.GetDecktopGroup(tp,1) local g=Duel.GetDecktopGroup(tp,1)
if not g or g:GetCount()==0 then return end if not g or g:GetCount()==0 then return end
g:ForEach(c100730045.reg) g:ForEach(c100730045.reg)
Duel.ConfirmCards(tp,g) Duel.ConfirmCards(tp,g)
end end
function c100730045.adjustop(e,tp) function c100730045.adjustop(e,tp)
local g=Duel.GetDecktopGroup(tp,1) local g=Duel.GetDecktopGroup(tp,1)
if not g or g:GetCount()==0 then return end if not g or g:GetCount()==0 then return end
local fc=g:GetFirst() local fc=g:GetFirst()
if fc:IsPosition(POS_FACEUP_DEFENSE) then return end if fc:IsPosition(POS_FACEUP_DEFENSE) then return end
fc:ReverseInDeck() fc:ReverseInDeck()
end end
\ No newline at end of file
--高速决斗技能-神圣护卫 --高速决斗技能-神圣护卫
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730046.initial_effect(c) function c100730046.initial_effect(c)
aux.SpeedDuelBeforeDraw(c,c100730046.skill) aux.SpeedDuelBeforeDraw(c,c100730046.skill)
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
end end
function c100730046.skill(e,tp,eg,ep,ev,re,r,rp) function c100730046.skill(e,tp,eg,ep,ev,re,r,rp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
local e1=Effect.GlobalEffect() local e1=Effect.GlobalEffect()
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_AVOID_BATTLE_DAMAGE) e1:SetCode(EFFECT_REVERSE_DAMAGE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetTargetRange(1,0) e1:SetTargetRange(1,0)
e1:SetValue(c100730046.abdcon) e1:SetValue(c100730046.abdcon)
e1:SetReset(RESET_PHASE+PHASE_END) e1:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
end end
function c100730046.abdcon(e) function c100730046.abdcon(e)
return Duel.GetTurnPlayer()==e:GetHandlerPlayer() return Duel.GetTurnPlayer()==e:GetHandlerPlayer()
end end
\ No newline at end of file
--高速决斗技能-奇迹抽卡 --高速决斗技能-奇迹抽卡
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730047.initial_effect(c) function c100730047.initial_effect(c)
aux.SpeedDuelReplaceDraw(c,c100730047.skill,c100730047.con,aux.Stringid(100730047,1)) aux.SpeedDuelReplaceDraw(c,c100730047.skill,c100730047.con,aux.Stringid(100730047,1))
aux.RegisterSpeedDuelSkillCardCommon() aux.SpeedDuelBeforeDraw(c,c100730047.skill2)
end aux.RegisterSpeedDuelSkillCardCommon()
end
function c100730047.filter(c) function c100730047.skill2(e,tp)
return c:IsType(TYPE_MONSTER) and c:IsSetCard(0x3008) tp=e:GetLabelObject():GetOwner()
end Duel.Hint(HINT_CARD,1-tp,100730136)
local tc=Duel.CreateToken(tp,97362768)
function c100730047.con(e,tp) aux.SpeedDuelSendToHandWithExile(tp,tc)
tp=e:GetLabelObject():GetOwner() e:Reset()
return Duel.GetTurnPlayer()==tp end
and Duel.IsExistingMatchingCard(c100730047.filter,tp,LOCATION_GRAVE,0,1,nil)
and Duel.GetTurnCount()>=3 function c100730047.filter(c)
end return c:IsType(TYPE_MONSTER) and c:IsSetCard(0x3008)
end
function c100730047.skill(e,tp)
tp=e:GetLabelObject():GetOwner() function c100730047.con(e,tp)
if Duel.SelectYesNo(tp,aux.Stringid(100730047,0)) then tp=e:GetLabelObject():GetOwner()
Duel.Hint(HINT_CARD,1-tp,100730047) return Duel.GetTurnPlayer()==tp
local c=Duel.CreateToken(tp,55144522) and Duel.IsExistingMatchingCard(c100730047.filter,tp,LOCATION_GRAVE,0,1,nil)
Duel.SendtoDeck(c,tp,0,REASON_RULE) and Duel.GetTurnCount()>=3
e:Reset() end
end
function c100730047.skill(e,tp)
tp=e:GetLabelObject():GetOwner()
return Duel.GetTurnPlayer()==tp
if Duel.SelectYesNo(tp,aux.Stringid(100730047,0)) then
Duel.Hint(HINT_CARD,1-tp,100730047)
local c=Duel.CreateToken(tp,55144522)
Duel.SendtoDeck(c,tp,0,REASON_RULE)
e:Reset()
end
end end
\ No newline at end of file
--高速决斗技能-噩梦呈现 --高速决斗技能-噩梦呈现
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730048.initial_effect(c) function c100730048.initial_effect(c)
aux.SpeedDuelAtMainPhase(c,c100730048.skill,c100730048.con,aux.Stringid(100730048,0)) aux.SpeedDuelMoveCardToFieldCommon(78637313,c)
aux.RegisterSpeedDuelSkillCardCommon() aux.SpeedDuelAtMainPhase(c,c100730048.skill,c100730048.con,aux.Stringid(100730048,0))
end aux.RegisterSpeedDuelSkillCardCommon()
end
function c100730048.filter(c)
return c:IsType(TYPE_SPELL) and c:IsAbleToHand() function c100730048.filter(c)
end return c:IsType(TYPE_SPELL) and c:IsAbleToHand()
end
function c100730048.con(e,tp)
tp=e:GetLabelObject():GetOwner() function c100730048.con(e,tp)
return aux.SpeedDuelAtMainPhaseCondition(e,tp) tp=e:GetLabelObject():GetOwner()
and Duel.IsExistingMatchingCard(Card.IsType,tp,LOCATION_GRAVE,0,3,nil,TYPE_SPELL) return aux.SpeedDuelAtMainPhaseCondition(e,tp)
and Duel.IsExistingMatchingCard(c100730048.filter,tp,LOCATION_GRAVE,0,1,nil) and Duel.IsExistingMatchingCard(Card.IsType,tp,LOCATION_GRAVE,0,3,nil,TYPE_SPELL)
end and Duel.IsExistingMatchingCard(c100730048.filter,tp,LOCATION_GRAVE,0,1,nil)
end
function c100730048.skill(e,tp)
tp=e:GetLabelObject():GetOwner() function c100730048.skill(e,tp)
local g1=Duel.GetMatchingGroup(c100730048.filter,tp,LOCATION_GRAVE,0,nil) tp=e:GetLabelObject():GetOwner()
if not (g1 and g1:GetCount()>0) then return end local g1=Duel.GetMatchingGroup(c100730048.filter,tp,LOCATION_GRAVE,0,nil)
local g2=g1:RandomSelect(tp,1) if not (g1 and g1:GetCount()>0) then return end
Duel.SendtoHand(g2,nil,REASON_RULE) local g2=g1:RandomSelect(tp,1)
e:Reset() Duel.SendtoHand(g2,nil,REASON_RULE)
e:Reset()
end end
\ No newline at end of file
--高速决斗技能-等级复制 --高速决斗技能-等级复制
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730049.initial_effect(c) function c100730049.initial_effect(c)
aux.SpeedDuelAtMainPhase(c,c100730049.skill,c100730049.con,aux.Stringid(100730049,0)) aux.SpeedDuelAtMainPhase(c,c100730049.skill,c100730049.con,aux.Stringid(100730049,0))
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
end end
function c100730049.filter(c) function c100730049.filter(c)
return c:IsType(TYPE_MONSTER) and c:IsLevelAbove(1) return c:IsType(TYPE_MONSTER) and c:IsLevelAbove(1)
end end
function c100730049.con(e,tp) function c100730049.con(e,tp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
return aux.SpeedDuelAtMainPhaseCondition(e,tp) return aux.SpeedDuelAtMainPhaseCondition(e,tp)
and Duel.IsExistingMatchingCard(c100730049.filter,tp,LOCATION_HAND,0,1,nil) and Duel.IsExistingMatchingCard(c100730049.filter,tp,LOCATION_HAND,0,1,nil)
and Duel.IsExistingMatchingCard(c100730049.filter,tp,LOCATION_MZONE,0,1,nil) and Duel.IsExistingMatchingCard(c100730049.filter,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil)
end end
function c100730049.skill(e,tp) function c100730049.skill(e,tp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
Duel.Hint(HINT_CARD,1-tp,100730049) Duel.Hint(HINT_CARD,1-tp,100730049)
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(100730049,1)) Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(100730049,1))
local source=Duel.SelectMatchingCard(tp,c100730049.filter,tp,LOCATION_HAND,0,1,1,nil):GetFirst() local source=Duel.SelectMatchingCard(tp,c100730049.filter,tp,LOCATION_HAND,0,1,1,nil):GetFirst()
Duel.ConfirmCards(1-tp,source) Duel.ConfirmCards(1-tp,source)
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(100730049,2)) Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(100730049,2))
local to=Duel.SelectMatchingCard(tp,c100730049.filter,tp,LOCATION_MZONE,0,1,1,nil):GetFirst() local to=Duel.SelectMatchingCard(tp,c100730049.filter,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,nil):GetFirst()
local e1=Effect.CreateEffect(to) local e1=Effect.CreateEffect(to)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CHANGE_LEVEL) e1:SetCode(EFFECT_CHANGE_LEVEL)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetReset(RESET_EVENT+RESETS_STANDARD) e1:SetReset(RESET_EVENT+RESETS_STANDARD)
e1:SetValue(source:GetLevel()) e1:SetValue(source:GetLevel())
to:RegisterEffect(e1) to:RegisterEffect(e1)
e:Reset() Duel.ShuffleHand(tp)
end end
\ No newline at end of file
--高速决斗技能-绝对命运之力! --高速决斗技能-绝对命运之力!
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730050.initial_effect(c) function c100730050.initial_effect(c)
if not c100730050.reg then if not c100730050.reg then
c100730050.reg=true c100730050.reg=true
local toss_orig=Duel.TossCoin local toss_orig=Duel.TossCoin
c100730050.used={} c100730050.used={}
c100730050.used[0]=0 c100730050.used[0]=0
c100730050.used[1]=0 c100730050.used[1]=0
Duel.TossCoin = Duel.TossCoin =
function (tp,count) function (tp,count)
local result={} local result={}
while c100730050.used[tp]>0 and count>0 do while c100730050.used[tp]>0 and count>0 do
table.insert(result,1) table.insert(result,1)
Duel.Hint(HINT_OPSELECTED,tp,aux.Stringid(100730050,4)) Duel.Hint(HINT_CARD,1-tp,100730050)
Duel.Hint(HINT_OPSELECTED,1-tp,aux.Stringid(100730050,4)) Duel.Hint(HINT_OPSELECTED,tp,aux.Stringid(100730050,4))
count=count-1 Duel.Hint(HINT_OPSELECTED,1-tp,aux.Stringid(100730050,4))
c100730050.used[tp]=c100730050.used[tp]-1 count=count-1
end c100730050.used[tp]=c100730050.used[tp]-1
while count>0 do end
count=count-1 while count>0 do
table.insert(result,toss_orig(tp,1)) count=count-1
end table.insert(result,toss_orig(tp,1))
return table.unpack(result) end
end return table.unpack(result)
end end
aux.SpeedDuelBeforeDraw(c,c100730050.skill) end
aux.RegisterSpeedDuelSkillCardCommon() aux.SpeedDuelBeforeDraw(c,c100730050.skill)
end aux.RegisterSpeedDuelSkillCardCommon()
end
function c100730050.filter(c,g)
if not c.toss_coin then return false end function c100730050.filter(c,g)
local tc=g:GetFirst() if not c.toss_coin then return false end
while tc do local tc=g:GetFirst()
if c:GetOriginalCode()==tc:GetOriginalCode() then while tc do
return false if c:GetOriginalCode()==tc:GetOriginalCode() then
end return false
tc=g:GetNext() end
end tc=g:GetNext()
g:AddCard(c) end
return true g:AddCard(c)
end return true
function c100730050.skill(e,tp) end
tp=e:GetLabelObject():GetOwner() function c100730050.skill(e,tp)
local g=Group.CreateGroup() tp=e:GetLabelObject():GetOwner()
if not Duel.IsExistingMatchingCard(c100730050.filter,tp,LOCATION_DECK+LOCATION_HAND,0,7,nil,g) then local g=Group.CreateGroup()
Duel.Hint(HINT_MESSAGE,tp,aux.Stringid(100730050,0)) if not Duel.IsExistingMatchingCard(c100730050.filter,tp,LOCATION_DECK+LOCATION_HAND,0,7,nil,g) then
else Duel.Hint(HINT_MESSAGE,tp,aux.Stringid(100730050,0))
c100730050.used[tp]=3 else
end c100730050.used[tp]=3
e:Reset() end
end e:Reset()
end
--高速决斗技能-羁绊的力量 --高速决斗技能-羁绊的力量
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730051.initial_effect(c) function c100730051.initial_effect(c)
aux.SpeedDuelAtMainPhase(c,c100730051.skill,c100730051.con,aux.Stringid(100730051,0)) aux.SpeedDuelAtMainPhase(c,c100730051.skill,c100730051.con,aux.Stringid(100730051,0))
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
end end
function c100730051.filter(c) function c100730051.filter(c)
return c:IsType(TYPE_MONSTER) and c:IsFaceup() return c:IsType(TYPE_MONSTER) and c:IsFaceup()
end end
function c100730051.con(e,tp) function c100730051.con(e,tp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
return aux.SpeedDuelAtMainPhaseCondition(e,tp) return aux.SpeedDuelAtMainPhaseCondition(e,tp)
and Duel.IsExistingMatchingCard(c100730051.filter,tp,LOCATION_MZONE,0,1,nil) and Duel.IsExistingMatchingCard(c100730051.filter,tp,LOCATION_MZONE,0,1,nil)
end end
function c100730051.skill(e,tp) function c100730051.skill(e,tp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
Duel.Hint(HINT_CARD,1-tp,100730051) Duel.Hint(HINT_CARD,1-tp,100730051)
local g=Duel.GetMatchingGroup(c100730051.filter,tp,LOCATION_MZONE,0,nil) local g=Duel.GetMatchingGroup(c100730051.filter,tp,LOCATION_MZONE,0,nil)
if g:GetCount()==0 then return end if g:GetCount()==0 then return end
local ct=Duel.GetFieldGroupCount(tp,LOCATION_MZONE,0)*100 local ct=Duel.GetFieldGroupCount(tp,LOCATION_ONFIELD,0)*100
local tc=g:GetFirst() local tc=g:GetFirst()
while tc do while tc do
local e1=Effect.CreateEffect(tc) local e1=Effect.CreateEffect(tc)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_ATTACK) e1:SetCode(EFFECT_UPDATE_ATTACK)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END) e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,2)
e1:SetValue(ct) e1:SetValue(ct)
tc:RegisterEffect(e1) tc:RegisterEffect(e1)
tc=g:GetNext() tc=g:GetNext()
end end
end end
\ No newline at end of file
--高速决斗技能-秘密交换 --高速决斗技能-秘密交换
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730052.initial_effect(c) function c100730052.initial_effect(c)
if not c100730052.UsedLP then if not c100730052.UsedLP then
c100730052.UsedLP={} c100730052.UsedLP={}
c100730052.UsedLP[0]=0 c100730052.UsedLP[0]=0
c100730052.UsedLP[1]=0 c100730052.UsedLP[1]=0
end end
aux.SpeedDuelCalculateDecreasedLP() aux.SpeedDuelCalculateDecreasedLP()
aux.SpeedDuelAtMainPhase(c,c100730052.skill,c100730052.con,aux.Stringid(100730052,0)) aux.SpeedDuelAtMainPhase(c,c100730052.skill,c100730052.con,aux.Stringid(100730052,0))
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
end end
function c100730052.con(e,tp) function c100730052.con(e,tp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
return aux.SpeedDuelAtMainPhaseCondition(e,tp) return aux.SpeedDuelAtMainPhaseCondition(e,tp)
and Duel.IsExistingMatchingCard(Card.IsAbleToDeck,tp,LOCATION_HAND,0,1,nil) and Duel.IsExistingMatchingCard(Card.IsAbleToDeck,tp,LOCATION_HAND,0,1,nil)
and aux.DecreasedLP[tp]-c100730052.UsedLP[tp]>=1000 and aux.DecreasedLP[tp]-c100730052.UsedLP[tp]>=1000
and c100730052.UsedLP[tp]<2000 and c100730052.UsedLP[tp]<2000
end end
function c100730052.skill(e,tp) function c100730052.skill(e,tp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
c100730052.UsedLP[tp]=c100730052.UsedLP[tp]+1000 c100730052.UsedLP[tp]=c100730052.UsedLP[tp]+1000
Duel.Hint(HINT_CARD,1-tp,100730052) Duel.Hint(HINT_CARD,1-tp,100730052)
local g=Duel.SelectMatchingCard(tp,Card.IsAbleToDeck,tp,LOCATION_HAND,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,Card.IsAbleToDeck,tp,LOCATION_HAND,0,1,1,nil)
if not g then return end if not g then return end
Duel.SendtoDeck(g,nil,0,REASON_RULE) Duel.SendtoDeck(g,nil,0,REASON_RULE)
Duel.ShuffleDeck(tp) Duel.ShuffleDeck(tp)
Duel.Draw(tp,1,REASON_RULE) Duel.Draw(tp,1,REASON_RULE)
end end
\ No newline at end of file
--高速决斗技能-黑暗决斗 --高速决斗技能黑暗决斗
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730053.initial_effect(c) function c100730053.initial_effect(c)
if not c100730053.reg then local e1=Effect.GlobalEffect()
c100730053.reg=1 e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
else e1:SetCode(EVENT_TURN_END)
c100730053.reg=c100730053.reg+1 e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
end e1:SetCountLimit(1)
if c100730053.reg == 1 then e1:SetOperation(c100730053.skill)
local e1=Effect.GlobalEffect() Duel.RegisterEffect(e1,0)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) aux.RegisterSpeedDuelSkillCardCommon()
e1:SetCode(EVENT_PHASE+PHASE_END) end
e1:SetCountLimit(1) function c100730053.skill(e,tp,eg,ep,ev,re,r,rp)
e1:SetOperation(c100730053.skill) tp=Duel.GetTurnPlayer()
Duel.RegisterEffect(e1,0) local ct=Duel.GetFieldGroupCount(tp,LOCATION_GRAVE,0)*200
end Duel.Hint(HINT_CARD,1-tp,100730053)
aux.RegisterSpeedDuelSkillCardCommon() Duel.Damage(tp,ct,REASON_RULE)
end
function c100730053.skill(e,tp,eg,ep,ev,re,r,rp)
tp=Duel.GetTurnPlayer()
Duel.Hint(HINT_CARD,tp,100730053)
Duel.Hint(HINT_CARD,1-tp,100730053)
local ct=Duel.GetFieldGroupCount(tp,LOCATION_GRAVE,0)*100*c100730053.reg
ct=Duel.GetLP(tp)-ct
if ct<0 then ct=0 end
Duel.SetLP(tp,ct)
end end
\ No newline at end of file
--高速决斗技能-重新开始 --高速决斗技能-来自墓碑的复仇
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730054.initial_effect(c) function c100730054.initial_effect(c)
aux.SpeedDuelBeforeDraw(c,c100730054.skill) aux.SpeedDuelMoveCardToDeckCommon(81020646,c)
aux.RegisterSpeedDuelSkillCardCommon() aux.SpeedDuelMoveCardToDeckCommon(72896720,c)
end aux.SpeedDuelMoveCardToDeckCommon(38904695,c)
aux.SpeedDuelMoveCardToDeckCommon(50321796,c)
function c100730054.skill(e,tp,eg,ep,ev,re,r,rp) aux.SpeedDuelMoveCardToDeckCommon(52687916,c)
tp=e:GetLabelObject():GetOwner() aux.SpeedDuelMoveCardToDeckCommon(70980824,c)
e:Reset() aux.SpeedDuelBeforeDraw(c,c100730054.skill)
local g=Duel.GetFieldGroup(tp,LOCATION_HAND,0) aux.RegisterSpeedDuelSkillCardCommon()
local ct=g:GetCount() end
if ct==0 then return end function c100730054.skill(e,tp,eg,ep,ev,re,r,rp)
if not Duel.SelectYesNo(tp,aux.Stringid(100730054,0)) then return end tp=e:GetLabelObject():GetOwner()
aux.SpeedDuelSendToDeckWithExile(tp,g) e:Reset()
local g2=Duel.GetFieldGroup(tp,LOCATION_DECK,0) if Duel.IsExistingMatchingCard(Card.IsAttribute,tp,LOCATION_DECK,0,1,nil,0x5f) then
g2=g2:RandomSelect(tp,ct) Duel.Hint(HINT_MESSAGE,tp,aux.Stringid(100730054,0))
aux.SpeedDuelSendToHandWithExile(tp,g2) else
aux.SpeedDuelSendToDeckWithExile(tp,g)
local e1=Effect.GlobalEffect() local c=Duel.CreateToken(tp,85475641)
e1:SetType(EFFECT_TYPE_FIELD) Duel.SendtoGrave(c,REASON_RULE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) end
e1:SetCode(EFFECT_SKIP_DP) end
e1:SetTargetRange(1,0)
if Duel.GetTurnPlayer()==tp then
e1:SetReset(RESET_PHASE+PHASE_DRAW+RESET_SELF_TURN,2)
else
e1:SetReset(RESET_PHASE+PHASE_DRAW+RESET_SELF_TURN)
end
Duel.RegisterEffect(e1,tp)
end
\ No newline at end of file
--高速决斗技能-秘密交换 --高速决斗技能-融合大师
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730055.initial_effect(c) function c100730055.initial_effect(c)
if not c100730055.UsedLP then if not c100730055.UsedLP then
c100730055.UsedLP={} c100730055.UsedLP={}
c100730055.UsedLP[0]=0 c100730055.UsedLP[0]=0
c100730055.UsedLP[1]=0 c100730055.UsedLP[1]=0
end end
aux.SpeedDuelCalculateDecreasedLP() aux.SpeedDuelCalculateDecreasedLP()
aux.SpeedDuelAtMainPhase(c,c100730055.skill,c100730055.con,aux.Stringid(100730055,0)) aux.SpeedDuelAtMainPhase(c,c100730055.skill,c100730055.con,aux.Stringid(100730055,0))
aux.RegisterSpeedDuelSkillCardCommon() aux.SpeedDuelMoveCardToFieldCommon(30548775,c)
end aux.RegisterSpeedDuelSkillCardCommon()
function c100730055.con(e,tp) end
tp=e:GetLabelObject():GetOwner() function c100730055.con(e,tp)
return aux.SpeedDuelAtMainPhaseCondition(e,tp) tp=e:GetLabelObject():GetOwner()
and Duel.IsExistingMatchingCard(Card.IsAbleToDeck,tp,LOCATION_HAND,0,1,nil) return aux.SpeedDuelAtMainPhaseCondition(e,tp)
and aux.DecreasedLP[tp]-c100730055.UsedLP[tp]>=1000 and Duel.IsExistingMatchingCard(Card.IsAbleToDeck,tp,LOCATION_HAND,0,1,nil)
and c100730055.UsedLP[tp]<2000 and aux.DecreasedLP[tp]-c100730055.UsedLP[tp]>=1000
end and c100730055.UsedLP[tp]<2000
function c100730055.skill(e,tp) end
tp=e:GetLabelObject():GetOwner() function c100730055.skill(e,tp)
c100730055.UsedLP[tp]=c100730055.UsedLP[tp]+1000 tp=e:GetLabelObject():GetOwner()
Duel.Hint(HINT_CARD,1-tp,100730055) c100730055.UsedLP[tp]=c100730055.UsedLP[tp]+1000
local g=Duel.SelectMatchingCard(tp,Card.IsAbleToDeck,tp,LOCATION_HAND,0,1,1,nil) Duel.Hint(HINT_CARD,1-tp,100730055)
if not g then return end local g=Duel.SelectMatchingCard(tp,Card.IsAbleToDeck,tp,LOCATION_HAND,0,1,1,nil)
Duel.SendtoDeck(g,nil,2,REASON_RULE) if not g then return end
local c=Duel.CreateToken(tp,24094653) Duel.SendtoDeck(g,nil,2,REASON_RULE)
Duel.SendtoHand(c,nil,REASON_RULE) local c=Duel.CreateToken(tp,24094653)
Duel.SendtoHand(c,nil,REASON_RULE)
end end
\ No newline at end of file
--高速决斗技能-强攻压制 --高速决斗技能-强攻压制
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730056.initial_effect(c) function c100730056.initial_effect(c)
aux.SpeedDuelAtMainPhase(c,c100730056.skill,c100730056.con,aux.Stringid(100730056,0)) aux.SpeedDuelAtMainPhase(c,c100730056.skill,c100730056.con,aux.Stringid(100730056,0))
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
end end
function c100730056.filter(c) function c100730056.filter(c)
return c:IsType(TYPE_MONSTER) and c:IsFaceup() and c:IsLevelAbove(5) return c:IsType(TYPE_MONSTER) and c:IsFaceup() and c:IsLevelAbove(5)
end end
function c100730056.con(e,tp) function c100730056.con(e,tp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
return aux.SpeedDuelAtMainPhaseCondition(e,tp) return aux.SpeedDuelAtMainPhaseCondition(e,tp)
and Duel.IsExistingMatchingCard(c100730056.filter,tp,LOCATION_MZONE,0,1,nil) and Duel.IsExistingMatchingCard(c100730056.filter,tp,LOCATION_MZONE,0,1,nil)
end end
function c100730056.skill(e,tp) function c100730056.skill(e,tp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
Duel.Hint(HINT_CARD,1-tp,100730056) Duel.Hint(HINT_CARD,1-tp,100730056)
local g=Duel.GetMatchingGroup(c100730056.filter,tp,LOCATION_MZONE,0,nil) local g=Duel.GetMatchingGroup(c100730056.filter,tp,LOCATION_MZONE,0,nil)
if g:GetCount()==0 then return end if g:GetCount()==0 then return end
local ct=g:GetCount()*300 local ct=g:GetCount()*300
local tc=g:GetFirst() local tc=g:GetFirst()
while tc do while tc do
local e1=Effect.CreateEffect(tc) local e1=Effect.CreateEffect(tc)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_ATTACK) e1:SetCode(EFFECT_UPDATE_ATTACK)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END) e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
e1:SetValue(ct) e1:SetValue(ct)
tc:RegisterEffect(e1) tc:RegisterEffect(e1)
tc=g:GetNext() tc=g:GetNext()
end end
end end
\ No newline at end of file
--高速决斗技能-凡人的局限 --高速决斗技能-凡人的局限
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730057.initial_effect(c) function c100730057.initial_effect(c)
aux.SpeedDuelAtMainPhase(c,c100730057.skill,c100730057.con,aux.Stringid(100730057,0)) aux.SpeedDuelAtMainPhase(c,c100730057.skill,c100730057.con,aux.Stringid(100730057,0))
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
end end
function c100730057.filter(c)
function c100730057.filter(c) return c:IsType(TYPE_MONSTER)
return c:IsType(TYPE_MONSTER) end
end function c100730057.con(e,tp)
tp=e:GetLabelObject():GetOwner()
function c100730057.con(e,tp) return aux.SpeedDuelAtMainPhaseCondition(e,tp)
tp=e:GetLabelObject():GetOwner() and Duel.IsExistingMatchingCard(c100730057.filter,tp,0,LOCATION_GRAVE,1,nil)
return aux.SpeedDuelAtMainPhaseCondition(e,tp) and Duel.GetLP(tp)+2000<=Duel.GetLP(1-tp)
and Duel.IsExistingMatchingCard(c100730057.filter,tp,0,LOCATION_GRAVE,1,nil) end
and Duel.GetLP(tp)+2000<=Duel.GetLP(1-tp) function c100730057.skill(e,tp)
end tp=e:GetLabelObject():GetOwner()
Duel.Hint(HINT_CARD,1-tp,100730057)
function c100730057.skill(e,tp) local g1=Duel.GetMatchingGroup(nil,tp,0,LOCATION_GRAVE,nil)
tp=e:GetLabelObject():GetOwner() local g2=Group.CreateGroup()
Duel.Hint(HINT_CARD,1-tp,100730057) local tc=g1:GetFirst()
local g1=Duel.GetMatchingGroup(c100730057.filter,tp,0,LOCATION_GRAVE,nil) while tc do
local g2=Group.CreateGroup() if tc:IsType(TYPE_MONSTER) then
local tc=g1:GetFirst() g2:AddCard(Duel.CreateToken(1-tp,32274490))
while tc do else
if tc:IsType(TYPE_MONSTER) then g2:AddCard(Duel.CreateToken(1-tp,tc:GetOriginalCode()))
g2:AddCard(Duel.CreateToken(1-tp,32274490)) end
else tc=g1:GetNext()
g2:AddCard(Duel.CreateToken(1-tp,tc:GetOriginalCode())) end
end Duel.Exile(g1,REASON_RULE)
tc=g1:GetNext() Duel.SendtoGrave(g2,REASON_RULE)
end e:Reset()
Duel.Exile(g1,REASON_RULE)
Duel.SendtoGrave(g2,REASON_RULE)
e:Reset()
end end
\ No newline at end of file
--高速决斗技能-封印墓穴 --高速决斗技能-封印墓穴
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730058.initial_effect(c) function c100730058.initial_effect(c)
aux.SpeedDuelAtMainPhase(c,c100730058.skill,c100730058.con,aux.Stringid(100730058,0)) aux.SpeedDuelAtMainPhase(c,c100730058.skill,c100730058.con,aux.Stringid(100730058,0))
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
end end
function c100730058.con(e,tp)
function c100730058.con(e,tp) tp=e:GetLabelObject():GetOwner()
tp=e:GetLabelObject():GetOwner() return aux.SpeedDuelAtMainPhaseCondition(e,tp)
return aux.SpeedDuelAtMainPhaseCondition(e,tp) and Duel.GetLP(tp)+1000<=Duel.GetLP(1-tp)
and Duel.GetLP(tp)+1000<=Duel.GetLP(1-tp) end
end function c100730058.skill(e,tp)
tp=e:GetLabelObject():GetOwner()
function c100730058.skill(e,tp) Duel.Hint(HINT_CARD,1-tp,100730058)
tp=e:GetLabelObject():GetOwner() local e1=Effect.GlobalEffect()
Duel.Hint(HINT_CARD,1-tp,100730058) e1:SetType(EFFECT_TYPE_FIELD)
local e1=Effect.CreateEffect(c) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetTargetRange(1,1)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON) e1:SetTarget(c100730058.limit)
e1:SetTargetRange(1,1) e1:SetReset(RESET_PHASE+PHASE_END+RESET_OPPO_TURN)
e1:SetTarget(c100730058.limit) Duel.RegisterEffect(e1,1-tp)
e1:SetReset(RESET_PHASE+PHASE_END+RESET_OPPO_TURN) local e2=e1:Clone()
Duel.RegisterEffect(e1,tp) e2:SetCode(EFFECT_CANNOT_REMOVE)
local e2=e1:Clone() Duel.RegisterEffect(e2,1-tp)
e2:SetCode(EFFECT_CANNOT_REMOVE) e:Reset()
Duel.RegisterEffect(e2,tp) end
e:Reset() function c100730058.limit(e,c,sump,sumtype,sumpos,targetp,se)
end return c:IsLocation(LOCATION_GRAVE)
end
function c100730058.limit(e,c,sump,sumtype,sumpos,targetp,se)
return c:IsLocation(LOCATION_GRAVE)
end
--高速决斗技能-抽卡预感:魔法·陷阱 --高速决斗技能-反转痛苦
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730059.initial_effect(c) function c100730059.initial_effect(c)
if not c100730059.UsedLP then aux.SpeedDuelAtMainPhaseNoCountLimit(c,c100730059.skill,c100730059.con,aux.Stringid(100730059,0))
c100730059.UsedLP={} aux.RegisterSpeedDuelSkillCardCommon()
c100730059.UsedLP[0]=0 if not c100730059.battle_damage then
c100730059.UsedLP[1]=0 c100730059.battle_damage={}
end c100730059.battle_damage[0]=0
aux.SpeedDuelCalculateDecreasedLP() c100730059.battle_damage[1]=0
aux.SpeedDuelReplaceDraw(c,c100730059.skill,c100730059.con,aux.Stringid(100730059,1)) c100730059.battle_damage[2]=0
aux.RegisterSpeedDuelSkillCardCommon() c100730059.battle_damage[3]=0
end end
local e1=Effect.GlobalEffect()
function c100730059.skill(e,tp,eg,ep,ev,re,r,rp) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
tp = e:GetLabelObject():GetOwner() e1:SetCode(EVENT_BATTLE_DAMAGE)
if Duel.SelectYesNo(tp,aux.Stringid(100730059,0)) then e1:SetOperation(c100730059.damcal)
Duel.Hint(HINT_CARD,1-tp,100730059) Duel.RegisterEffect(e1,0)
c100730059.UsedLP[tp]=c100730059.UsedLP[tp]+1000 local e2=Effect.GlobalEffect()
local g=Duel.GetMatchingGroup(Card.IsType,tp,LOCATION_DECK,0,nil,TYPE_SPELL+TYPE_TRAP) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
if not g or g:GetCount()==0 then return end e2:SetCode(EVENT_PHASE)
g=g:RandomSelect(tp,1) e2:SetReset(RESET_PHASE+PHASE_END)
Duel.MoveSequence(g:GetFirst(),0) e2:SetOperation(c100730059.damcalreset)
e:Reset() Duel.RegisterEffect(e2,0)
end end
end
function c100730059.damcal(e,tp,eg,ep,ev,re,r,rp)
function c100730059.con(e,tp,eg,ep,ev,re,r,rp) c100730059.battle_damage[ep]=c100730059.battle_damage[ep]+ev
tp = e:GetLabelObject():GetOwner() end
return Duel.GetTurnPlayer()==tp
and Duel.GetMatchingGroupCount(Card.IsType,tp,LOCATION_DECK,0,nil,TYPE_SPELL+TYPE_TRAP)>0 function c100730059.damcalreset(e,tp,eg,ep,ev,re,r,rp)
and aux.DecreasedLP[tp]-c100730059.UsedLP[tp] >= 1000 c100730059.battle_damage[2]=c100730059.battle_damage[0]
c100730059.battle_damage[3]=c100730059.battle_damage[1]
c100730059.battle_damage[0]=0
c100730059.battle_damage[1]=0
end
function c100730059.con(e,tp)
tp=e:GetLabelObject():GetOwner()
return aux.SpeedDuelAtMainPhaseCondition(e,tp)
and c100730059.battle_damage[tp+2]>0
and Duel.IsExistingMatchingCard(Card.IsFaceup,tp,LOCATION_MZONE,0,1,nil)
end
function c100730059.skill(e,tp)
tp=e:GetLabelObject():GetOwner()
Duel.Hint(HINT_SELECTMSG,HINTMSG_FACEUP)
local g=Duel.SelectMatchingCard(tp,Card.IsFaceup,tp,LOCATION_MZONE,0,1,1,nil)
if not g or g:GetCount()==0 then return end
local fc=g:GetFirst()
local e1=Effect.GlobalEffect(fc)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_ATTACK)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
e1:SetValue(math.floor(c100730059.battle_damage[tp+2]/2))
fc:RegisterEffect(e1)
end end
\ No newline at end of file
--高速决斗技能-上吧,扰乱怪! --高速决斗技能-上吧,扰乱怪!
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730060.initial_effect(c) function c100730060.initial_effect(c)
aux.SpeedDuelCalculateDecreasedLP() aux.SpeedDuelCalculateDecreasedLP()
aux.SpeedDuelAtMainPhase(c,c100730060.skill,c100730060.con,aux.Stringid(100730060,0)) aux.SpeedDuelAtMainPhase(c,c100730060.skill,c100730060.con,aux.Stringid(100730060,0))
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
end end
function c100730060.con(e,tp) function c100730060.con(e,tp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
return aux.SpeedDuelAtMainPhaseCondition(e,tp) return aux.SpeedDuelAtMainPhaseCondition(e,tp)
and Duel.GetMZoneCount(1-tp)>0 and Duel.GetMZoneCount(1-tp)>0
and aux.DecreasedLP[tp]>=1800 and aux.DecreasedLP[tp]>=1800
end end
function c100730060.skill(e,tp) function c100730060.skill(e,tp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
local token=Duel.CreateToken(1-tp,14470846) Duel.Hint(HINT_CARD,1-tp,100730060)
Duel.MoveToField(token,tp,1-tp,LOCATION_MZONE,POS_FACEUP_DEFENSE,true) local token=Duel.CreateToken(1-tp,14470846)
e:Reset() Duel.MoveToField(token,tp,1-tp,LOCATION_MZONE,POS_FACEUP_DEFENSE,true)
e:Reset()
end end
\ No newline at end of file
--高速决斗技能-扰乱怪泛滥 --高速决斗技能-扰乱怪泛滥
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730061.initial_effect(c) function c100730061.initial_effect(c)
aux.SpeedDuelAtMainPhase(c,c100730061.skill,c100730061.con,aux.Stringid(100730061,0)) aux.SpeedDuelAtMainPhase(c,c100730061.skill,c100730061.con,aux.Stringid(100730061,0))
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
end end
function c100730061.con(e,tp) function c100730061.con(e,tp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
return aux.SpeedDuelAtMainPhaseCondition(e,tp) return aux.SpeedDuelAtMainPhaseCondition(e,tp)
and Duel.GetMZoneCount(1-tp)>0 and Duel.GetMZoneCount(1-tp)>0
and Duel.GetLP(tp)<=500 and Duel.GetLP(tp)<=1000
end end
function c100730061.skill(e,tp) function c100730061.skill(e,tp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
local m=3-Duel.GetFieldCount(1-tp,LOCATION_MZONE,0) local m=3-Duel.GetFieldCount(1-tp,LOCATION_MZONE,0)
local z=Duel.GetMZoneCount(1-tp) local z=Duel.GetMZoneCount(1-tp)
if m>z then m=z end if m>z then m=z end
while m>0 do while m>0 do
local token=Duel.CreateToken(tp,14470846) Duel.Hint(HINT_CARD,1-tp,100730061)
Duel.MoveToField(token,tp,1-tp,LOCATION_MZONE,POS_FACEUP_DEFENSE,true) local token=Duel.CreateToken(tp,14470846)
m=m-1 Duel.MoveToField(token,tp,1-tp,LOCATION_MZONE,POS_FACEUP_DEFENSE,true)
end m=m-1
e:Reset() end
e:Reset()
end end
\ No newline at end of file
--高速决斗技能-抽卡预感:魔法·陷阱 --高速决斗技能-当然是正位置!
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730062.initial_effect(c) function c100730062.initial_effect(c)
aux.SpeedDuelBeforeDraw(c,c100730062.skill) aux.SpeedDuelBeforeDraw(c,c100730062.skill)
aux.RegisterSpeedDuelSkillCardCommon() aux.SpeedDuelMoveCardToFieldCommon(96012004,c)
end aux.RegisterSpeedDuelSkillCardCommon()
end
function c100730062.skill(e,tp,eg,ep,ev,re,r,rp)
tp=e:GetLabelObject():GetOwner() function c100730062.skill(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(e:GetHandler()) tp=e:GetLabelObject():GetOwner()
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetCode(EVENT_TOSS_COIN_NEGATE) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCondition(c100730062.coincon2) e1:SetCode(EVENT_TOSS_COIN_NEGATE)
e1:SetOperation(c100730062.coinop2) e1:SetCondition(c100730062.coincon2)
e1:SetLabelObject(e:GetLabelObject()) e1:SetOperation(c100730062.coinop2)
Duel.RegisterEffect(e1,tp) e1:SetLabelObject(e:GetLabelObject())
e:Reset() Duel.RegisterEffect(e1,tp)
end e:Reset()
function c100730062.coincon2(e,tp,eg,ep,ev,re,r,rp) end
return re:GetHandler():GetControler()==e:GetLabelObject():GetOwner() function c100730062.coincon2(e,tp,eg,ep,ev,re,r,rp)
and re:GetHandler():IsSetCard(0x05) return re:GetHandler():GetControler()==e:GetLabelObject():GetOwner()
end and re:GetHandler():IsSetCard(0x05)
function c100730062.coinop2(e,tp,eg,ep,ev,re,r,rp) end
Duel.Hint(HINT_CARD,0,100730062) function c100730062.coinop2(e,tp,eg,ep,ev,re,r,rp)
local res={Duel.GetCoinResult()} Duel.Hint(HINT_CARD,0,100730062)
local ct=ev local res={Duel.GetCoinResult()}
for i=1,ct do local ct=ev
res[i]=1 for i=1,ct do
end res[i]=1
Duel.SetCoinResult(table.unpack(res)) end
end Duel.SetCoinResult(table.unpack(res))
end
--高速决斗技能-逆转的命运 --高速决斗技能-逆转的命运
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730063.initial_effect(c) function c100730063.initial_effect(c)
aux.SpeedDuelAtMainPhaseNoCountLimit(c,c100730063.skill,c100730063.con,aux.Stringid(100730063,0)) aux.SpeedDuelAtMainPhase(c,c100730063.skill,c100730063.con,aux.Stringid(100730063,0))
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
end end
function c100730063.filter(c) function c100730063.filter(c)
return c:IsFaceup() and c:GetFlagEffect(36690018)~=0 return c:IsFaceup() and c:GetFlagEffect(36690018)~=0
end end
function c100730063.con(e,tp) function c100730063.con(e,tp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
return aux.SpeedDuelAtMainPhaseCondition(e,tp) return aux.SpeedDuelAtMainPhaseCondition(e,tp)
and Duel.IsExistingMatchingCard(c100730063.filter,tp,LOCATION_MZONE,0,1,nil) and Duel.IsExistingMatchingCard(c100730063.filter,tp,LOCATION_MZONE,0,1,nil)
end and Duel.IsPlayerCanDraw(tp,1)
end
function c100730063.skill(e,tp)
tp=e:GetLabelObject():GetOwner() function c100730063.skill(e,tp)
Duel.Hint(HINT_CARD,1-tp,100730063) tp=e:GetLabelObject():GetOwner()
if Duel.SelectYesNo(tp,aux.Stringid(100730063,0)) then
local g=Duel.SelectMatchingCard(tp,c100730063.filter,tp,LOCATION_MZONE,0,1,1,nil) Duel.Hint(HINT_CARD,1-tp,100730063)
local tc=g:GetFirst() Duel.Draw(tp,1,REASON_RULE)
local val=tc:GetFlagEffectLabel(36690018) local g=Duel.SelectMatchingCard(tp,c100730063.filter,tp,LOCATION_MZONE,0,1,1,nil)
tc:SetFlagEffectLabel(36690018,1-val) local tc=g:GetFirst()
local val=tc:GetFlagEffectLabel(36690018)
tc:SetFlagEffectLabel(36690018,1-val)
end
end end
\ No newline at end of file
--高速决斗技能-光之结界 --高速决斗技能-光之结界
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730064.initial_effect(c) function c100730064.initial_effect(c)
aux.SpeedDuelMoveCardToFieldCommon(73206827,c) aux.SpeedDuelBeforeDraw(c,c100730064.skill)
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
end end
function c100730064.skill(e,tp)
tp=e:GetLabelObject():GetOwner()
Duel.Hint(HINT_CARD,1-tp,100730064)
local c=Duel.CreateToken(tp,73206827)
Duel.SSet(tp,c)
local d=Duel.CreateToken(tp,62784717)
Duel.SSet(tp,d)
e:Reset()
end
\ No newline at end of file
--高速决斗技能-拜拜了! --高速决斗技能-拜拜了!
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730065.initial_effect(c) function c100730065.initial_effect(c)
aux.SpeedDuelAtMainPhase(c,c100730065.skill,c100730065.con,aux.Stringid(100730065,0)) aux.SpeedDuelAtMainPhase(c,c100730065.skill,c100730065.con,aux.Stringid(100730065,0))
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
end end
function c100730065.filter(c,tp) function c100730065.filter(c,tp)
return c:GetOwner()==tp return c:GetOwner()==tp
end end
function c100730065.con(e,tp) function c100730065.con(e,tp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
return aux.SpeedDuelAtMainPhaseCondition(e,tp) return aux.SpeedDuelAtMainPhaseCondition(e,tp)
and Duel.IsExistingMatchingCard(c100730065.filter,tp,LOCATION_MZONE,0,1,nil,tp) and Duel.IsExistingMatchingCard(c100730065.filter,tp,LOCATION_MZONE,0,1,nil,tp)
end end
function c100730065.skill(e,tp) function c100730065.skill(e,tp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
Duel.Hint(HINT_CARD,1-tp,100730065) Duel.Hint(HINT_CARD,1-tp,100730065)
local g=Duel.SelectMatchingCard(tp,c100730065.filter,tp,LOCATION_MZONE,0,1,1,nil,tp) local g=Duel.SelectMatchingCard(tp,c100730065.filter,tp,LOCATION_MZONE,0,1,1,nil,tp)
if #g>0 then if #g>0 then
Duel.SendtoHand(g,nil,REASON_RULE) Duel.SendtoHand(g,nil,REASON_EFFECT)
end local c=Duel.CreateToken(tp,93108433)
e:Reset() Duel.SendtoHand(c,nil,REASON_RULE)
end end
e:Reset()
end
\ No newline at end of file
--高速决斗技能-我的战士们 --高速决斗技能-我的战士们
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730066.initial_effect(c) function c100730066.initial_effect(c)
aux.SpeedDuelBeforeDraw(c,c100730066.skill) aux.SpeedDuelBeforeDraw(c,c100730066.skill)
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
end end
function c100730066.skill(e,tp,eg,ep,ev,re,r,rp) function c100730066.skill(e,tp,eg,ep,ev,re,r,rp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
--atk up local tc=Duel.CreateToken(tp,423705)
local e1=Effect.GlobalEffect() aux.SpeedDuelSendToHandWithExile(tp,tc)
e1:SetType(EFFECT_TYPE_FIELD) --atk up
e1:SetCode(EFFECT_UPDATE_ATTACK) local e1=Effect.GlobalEffect()
e1:SetTargetRange(LOCATION_MZONE,0) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetTarget(c100730066.tgfilter) e1:SetCode(EFFECT_UPDATE_ATTACK)
e1:SetValue(200) e1:SetTargetRange(LOCATION_MZONE,0)
Duel.RegisterEffect(e1,tp) e1:SetTarget(c100730066.tgfilter)
e:Reset() e1:SetValue(600)
end Duel.RegisterEffect(e1,tp)
function c100730066.tgfilter(e,c) e:Reset()
return c:IsRace(RACE_WARRIOR) and c:IsLevel(4) and c:IsAttribute(ATTRIBUTE_EARTH) end
function c100730066.tgfilter(e,c)
return c:IsRace(RACE_WARRIOR) and c:IsLevel(4) and c:IsAttribute(ATTRIBUTE_EARTH)
end end
\ No newline at end of file
--高速决斗技能-真红眼融合 --高速决斗技能-真红眼融合
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730067.initial_effect(c) function c100730067.initial_effect(c)
aux.SpeedDuelAtMainPhase(c,c100730067.skill,c100730067.con,aux.Stringid(100730067,0)) aux.SpeedDuelAtMainPhase(c,c100730067.skill,c100730067.con,aux.Stringid(100730067,0))
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
end end
function c100730067.con(e,tp) function c100730067.con(e,tp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
return aux.SpeedDuelAtMainPhaseCondition(e,tp) return aux.SpeedDuelAtMainPhaseCondition(e,tp)
and Duel.GetLP(tp)<=2400 and Duel.GetLP(tp)<=2400
and Duel.IsExistingMatchingCard(Card.IsCode,tp,LOCATION_DECK,0,1,nil,6172122) and Duel.IsExistingMatchingCard(Card.IsCode,tp,LOCATION_DECK,0,1,nil,6172122)
and (Duel.IsExistingMatchingCard(Card.IsSetCard,tp,LOCATION_HAND,0,1,nil,0x3b) and (Duel.IsExistingMatchingCard(Card.IsSetCard,tp,LOCATION_HAND,0,1,nil,0x3b)
or (Duel.GetLP(tp)==2400 and Duel.IsExistingMatchingCard(Card.IsCode,tp,LOCATION_GRAVE,0,1,nil,74677422))) or (Duel.GetLP(tp)==2400 and Duel.IsExistingMatchingCard(Card.IsCode,tp,LOCATION_GRAVE,0,1,nil,74677422)))
end end
function c100730067.skill(e,tp) function c100730067.skill(e,tp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
Duel.Hint(HINT_CARD,1-tp,100730067) Duel.Hint(HINT_CARD,1-tp,100730067)
local g=Duel.GetMatchingGroup(Card.IsSetCard,tp,LOCATION_HAND,0,nil,0x3b) local g=Duel.GetMatchingGroup(Card.IsSetCard,tp,LOCATION_HAND,0,nil,0x3b)
if Duel.GetLP(tp)==2400 then if Duel.GetLP(tp)==2400 then
local g2=Duel.GetMatchingGroup(Card.IsCode,tp,LOCATION_GRAVE,0,nil,74677422) local g2=Duel.GetMatchingGroup(Card.IsCode,tp,LOCATION_GRAVE,0,nil,74677422)
g:Merge(g2) g:Merge(g2)
end end
local c=g:Select(tp,1,1,nil) local c=g:Select(tp,1,1,nil)
if c then if c then
Duel.SendtoDeck(g,nil,REASON_RULE) Duel.SendtoDeck(g,nil,REASON_RULE)
local g3=Duel.GetMatchingGroup(Card.IsCode,tp,LOCATION_DECK,0,nil,6172122) local g3=Duel.GetMatchingGroup(Card.IsCode,tp,LOCATION_DECK,0,nil,6172122)
if #g3>0 then if #g3>0 then
Duel.SendtoHand(g3:GetFirst()) Duel.SendtoHand(g3:GetFirst())
end end
end end
e:Reset() e:Reset()
end end
--高速决斗技能-替罪羊 --高速决斗技能-替罪羊
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730068.initial_effect(c) function c100730068.initial_effect(c)
aux.SpeedDuelCalculateDecreasedLP() aux.SpeedDuelCalculateDecreasedLP()
aux.SpeedDuelReplaceDraw(c,c100730068.skill,c100730068.con,aux.Stringid(100730068,1)) aux.SpeedDuelReplaceDraw(c,c100730068.skill,c100730068.con,aux.Stringid(100730068,1))
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
end end
function c100730068.skill(e,tp,eg,ep,ev,re,r,rp) function c100730068.skill(e,tp,eg,ep,ev,re,r,rp)
tp = e:GetLabelObject():GetOwner() tp = e:GetLabelObject():GetOwner()
if Duel.SelectYesNo(tp,aux.Stringid(100730068,0)) then if Duel.SelectYesNo(tp,aux.Stringid(100730068,0)) then
local e1=Effect.GlobalEffect() local e1=Effect.GlobalEffect()
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EFFECT_DRAW_COUNT) e1:SetCode(EFFECT_DRAW_COUNT)
e1:SetTargetRange(1,0) e1:SetTargetRange(1,0)
e1:SetReset(RESET_PHASE+PHASE_DRAW) e1:SetReset(RESET_PHASE+PHASE_DRAW)
e1:SetValue(0) e1:SetValue(0)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
for i=1,3 do for i=1,3 do
local token=Duel.CreateToken(tp,73915052) local token=Duel.CreateToken(tp,73915052)
Duel.MoveToField(token,tp,tp,LOCATION_MZONE,POS_FACEUP_DEFENSE,true) Duel.MoveToField(token,tp,tp,LOCATION_MZONE,POS_FACEUP_DEFENSE,true)
local e2=Effect.CreateEffect(token) local e2=Effect.CreateEffect(token)
e2:SetType(EFFECT_TYPE_SINGLE) e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_UNRELEASABLE_SUM) e2:SetCode(EFFECT_UNRELEASABLE_SUM)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e2:SetValue(1) e2:SetValue(1)
e2:SetReset(RESET_EVENT+RESETS_STANDARD) e2:SetReset(RESET_EVENT+RESETS_STANDARD)
token:RegisterEffect(e2,true) token:RegisterEffect(e2,true)
end end
Duel.SkipPhase(tp,PHASE_MAIN1,RESET_PHASE+PHASE_END,1) Duel.SkipPhase(tp,PHASE_MAIN1,RESET_PHASE+PHASE_END,1)
local e3=Effect.GlobalEffect() local e3=Effect.GlobalEffect()
e3:SetType(EFFECT_TYPE_FIELD) e3:SetType(EFFECT_TYPE_FIELD)
e3:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e3:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e3:SetTargetRange(1,0) e3:SetTargetRange(1,0)
e3:SetCode(EFFECT_CANNOT_BP) e3:SetCode(EFFECT_CANNOT_BP)
e3:SetReset(RESET_PHASE+PHASE_END) e3:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e3,tp) Duel.RegisterEffect(e3,tp)
e:Reset() e:Reset()
end end
end end
function c100730068.con(e,tp,eg,ep,ev,re,r,rp) function c100730068.con(e,tp,eg,ep,ev,re,r,rp)
tp = e:GetLabelObject():GetOwner() tp = e:GetLabelObject():GetOwner()
return Duel.GetTurnPlayer()==tp and aux.DecreasedLP[tp] >= 2000 return Duel.GetTurnPlayer()==tp and aux.DecreasedLP[tp] >= 2000
end end
\ No newline at end of file
--高速决斗技能-融合变化(真红眼) --高速决斗技能-融合变化(真红眼)
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730069.initial_effect(c) function c100730069.initial_effect(c)
aux.SpeedDuelAtMainPhase(c,c100730069.skill,c100730069.con,aux.Stringid(100730069,0)) aux.SpeedDuelAtMainPhase(c,c100730069.skill,c100730069.con,aux.Stringid(100730069,0))
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
end end
function c100730069.filter(c) function c100730069.filter(c)
return (c:IsType(TYPE_NORMAL) and c:IsLevel(6) and c:IsRace(RACE_FIEND)) return (c:IsType(TYPE_NORMAL) and c:IsLevel(6) and c:IsRace(RACE_FIEND))
or (c:IsType(TYPE_NORMAL) and c:IsLevel(6) and c:IsRace(RACE_DRAGON)) or (c:IsType(TYPE_NORMAL) and c:IsLevel(6) and c:IsRace(RACE_DRAGON))
or (c:IsType(TYPE_NORMAL) and c:IsLevel(4) and c:IsRace(RACE_WARRIOR) and c:IsAttribute(ATTRIBUTE_EARTH)) or (c:IsType(TYPE_NORMAL) and c:IsLevel(4) and c:IsRace(RACE_WARRIOR) and c:IsAttribute(ATTRIBUTE_EARTH))
end end
c100730069.filterfunction c100730069.mfilter(c) c100730069.filterfunction c100730069.mfilter(c)
return c:GetOriginalCodeRule()==74677422 return c:GetOriginalCodeRule()==74677422
end end
function c100730069.con(e,tp) function c100730069.con(e,tp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
return aux.SpeedDuelAtMainPhaseCondition(e,tp) return aux.SpeedDuelAtMainPhaseCondition(e,tp)
and Duel.IsExistingMatchingCard(c100730069.mfilter,tp,LOCATION_MZONE,0,1,nil) and Duel.IsExistingMatchingCard(c100730069.mfilter,tp,LOCATION_MZONE,0,1,nil)
and Duel.IsExistingMatchingCard(c100730069.filter,tp,LOCATION_HAND,0,1,nil) and Duel.IsExistingMatchingCard(c100730069.filter,tp,LOCATION_HAND,0,1,nil)
end end
function c100730069.skill(e,tp) function c100730069.skill(e,tp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
Duel.Hint(HINT_CARD,1-tp,100730069) Duel.Hint(HINT_CARD,1-tp,100730069)
local c=Duel.SelectMatchingCard(tp,c100730069.mfilter,tp,LOCATION_MZONE,0,1,1,nil):GetFirst() local c=Duel.SelectMatchingCard(tp,c100730069.mfilter,tp,LOCATION_MZONE,0,1,1,nil):GetFirst()
local pos=c:GetPosition() local pos=c:GetPosition()
local seq=c:GetSequence() local seq=c:GetSequence()
local tc=Duel.SelectMatchingCard(tp,c100730069.filter,tp,LOCATION_HAND,0,1,1,nil):GetFirst() local tc=Duel.SelectMatchingCard(tp,c100730069.filter,tp,LOCATION_HAND,0,1,1,nil):GetFirst()
local code=90660762 local code=90660762
if tc:IsRace(RACE_FIEND) then code=11901678 end if tc:IsRace(RACE_FIEND) then code=11901678 end
if tc:IsRace(RACE_WARRIOR) then code=21140872 end if tc:IsRace(RACE_WARRIOR) then code=21140872 end
Duel.SendtoGrave(tc,REASON_RULE+REASON_DISCARD) Duel.SendtoGrave(tc,REASON_RULE+REASON_DISCARD)
Duel.Exile(c,REASON_RULE) Duel.Exile(c,REASON_RULE)
local nc=Duel.CreateToken(tp,code) local nc=Duel.CreateToken(tp,code)
Duel.MoveToField(nc,tp,tp,LOCATION_MZONE,pos,true) Duel.MoveToField(nc,tp,tp,LOCATION_MZONE,pos,true)
nc:MoveSequence(seq) Duel.MoveSequence(nc,seq)
e:Reset() end
end
--高速决斗技能-召唤封锁 --高速决斗技能-召唤封锁
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730070.initial_effect(c) function c100730070.initial_effect(c)
aux.SpeedDuelAtMainPhase(c,c100730070.skill,c100730058.con,aux.Stringid(100730058,0)) aux.SpeedDuelAtMainPhase(c,c100730070.skill,c100730058.con,aux.Stringid(100730058,0))
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
end end
function c100730058.con(e,tp) function c100730058.con(e,tp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
return aux.SpeedDuelAtMainPhaseCondition(e,tp) return aux.SpeedDuelAtMainPhaseCondition(e,tp)
and Duel.GetLP(tp)<=1000 and Duel.GetLP(tp)<=2500
end end
function c100730058.skill(e,tp) function c100730058.skill(e,tp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
Duel.Hint(HINT_CARD,1-tp,100730058) Duel.Hint(HINT_CARD,1-tp,100730058)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON) e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetTargetRange(1,1) e1:SetTargetRange(1,1)
e1:SetTarget(c100730058.splimit) e1:SetTarget(c100730058.splimit)
e1:SetReset(RESET_PHASE+PHASE_END,2) e1:SetReset(RESET_PHASE+PHASE_END,2)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
local e2=e1:Clone() local e2=e1:Clone()
e2:SetCode(EFFECT_CANNOT_SUMMON) e2:SetCode(EFFECT_CANNOT_SUMMON)
Duel.RegisterEffect(e2,tp) Duel.RegisterEffect(e2,tp)
local e3=e1:Clone() local e3=e1:Clone()
e3:SetCode(EFFECT_CANNOT_MSET) e3:SetCode(EFFECT_CANNOT_MSET)
Duel.RegisterEffect(e3,tp) Duel.RegisterEffect(e3,tp)
local e4=e1:Clone() local e4=e1:Clone()
e4:SetCode(EFFECT_CANNOT_ACTIVATE) e4:SetCode(EFFECT_CANNOT_ACTIVATE)
Duel.RegisterEffect(e4,tp) Duel.RegisterEffect(e4,tp)
e:Reset() e:Reset()
end end
function c100730058.splimit(e,c) function c100730058.splimit(e,c)
return c:IsType(TYPE_MONSTER) and c:IsType(TYPE_EFFECT) return c:IsType(TYPE_MONSTER) and c:IsType(TYPE_EFFECT)
end end
function c100730058.limit(e,c,sump,sumtype,sumpos,targetp,se) function c100730058.limit(e,c,sump,sumtype,sumpos,targetp,se)
return c:IsLocation(LOCATION_GRAVE) return c:IsLocation(LOCATION_GRAVE)
end end
--高速决斗技能-魔术手 --高速决斗技能-魔术手
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730071.initial_effect(c) function c100730071.initial_effect(c)
if not c100730071.UsedLP then aux.SpeedDuelMoveCardToFieldCommon(67048711,c)
c100730071.UsedLP={} if not c100730071.UsedLP then
c100730071.UsedLP[0]=0 c100730071.UsedLP={}
c100730071.UsedLP[1]=0 c100730071.UsedLP[0]=0
end c100730071.UsedLP[1]=0
aux.SpeedDuelCalculateDecreasedLP() end
aux.SpeedDuelAtMainPhase(c,c100730071.skill,c100730071.con,aux.Stringid(100730071,0)) aux.SpeedDuelCalculateDecreasedLP()
aux.RegisterSpeedDuelSkillCardCommon() aux.SpeedDuelAtMainPhase(c,c100730071.skill,c100730071.con,aux.Stringid(100730071,0))
end aux.RegisterSpeedDuelSkillCardCommon()
end
function c100730071.con(e,tp)
tp=e:GetLabelObject():GetOwner() function c100730071.con(e,tp)
return aux.SpeedDuelAtMainPhaseCondition(e,tp) tp=e:GetLabelObject():GetOwner()
and Duel.IsExistingMatchingCard(Card.IsAbleToDeck,tp,LOCATION_HAND,0,1,nil) return aux.SpeedDuelAtMainPhaseCondition(e,tp)
and aux.DecreasedLP[tp]-c100730071.UsedLP[tp]>=1500 and aux.DecreasedLP[tp]-c100730071.UsedLP[tp]>=1500
and c100730071.UsedLP[tp]<3000 end
end function c100730071.skill(e,tp)
function c100730071.skill(e,tp) tp=e:GetLabelObject():GetOwner()
tp=e:GetLabelObject():GetOwner() c100730071.UsedLP[tp]=c100730071.UsedLP[tp]+1500
c100730071.UsedLP[tp]=c100730071.UsedLP[tp]+1500 Duel.Hint(HINT_CARD,1-tp,100730071)
Duel.Hint(HINT_CARD,1-tp,100730071) local c=Duel.CreateToken(tp,86198326)
local c=Duel.CreateToken(tp,86198326) Duel.SendtoHand(c,nil,REASON_RULE)
Duel.SendtoHand(c,nil,REASON_RULE)
end end
\ No newline at end of file
--高速决斗技能-盗贼 --高速决斗技能-盗贼
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730072.initial_effect(c) function c100730072.initial_effect(c)
aux.SpeedDuelAtMainPhase(c,c100730072.skill,c100730072.con,aux.Stringid(100730072,0)) aux.SpeedDuelAtMainPhase(c,c100730072.skill,c100730072.con,aux.Stringid(100730072,0))
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
end end
function c100730072.con(e,tp) function c100730072.con(e,tp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
return aux.SpeedDuelAtMainPhaseCondition(e,tp) return aux.SpeedDuelAtMainPhaseCondition(e,tp)
and Duel.GetLP(tp)<=1500 and Duel.GetLP(tp)<=1500
and Duel.IsExistingMatchingCard(aux.TRUE,tp,0,LOCATION_SZONE,1,nil) and Duel.IsExistingMatchingCard(aux.TRUE,tp,0,LOCATION_SZONE,1,nil)
and Duel.GetLocationCount(tp,LOCATION_SZONE)>0 and Duel.GetLocationCount(tp,LOCATION_SZONE)>0
end end
function c100730072.skill(e,tp) function c100730072.skill(e,tp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
Duel.Hint(HINT_CARD,1-tp,100730072) Duel.Hint(HINT_CARD,1-tp,100730072)
local tc=Duel.SelectMatchingCard(tp,aux.TRUE,tp,0,LOCATION_SZONE,1,1,nil):GetFirst() local tc=Duel.SelectMatchingCard(tp,aux.TRUE,tp,0,LOCATION_SZONE,1,1,nil):GetFirst()
if tc:IsLocation(LOCATION_FZONE) then if tc:IsLocation(LOCATION_FZONE) then
Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,tc:GetPosition(),true) Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,tc:GetPosition(),true)
else else
Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,tc:GetPosition(),true) Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,tc:GetPosition(),true)
end end
e:Reset() e:Reset()
end end
--高速决斗技能-盗贼 --高速决斗技能-永火炼狱
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730073.initial_effect(c) function c100730073.initial_effect(c)
aux.SpeedDuelAtMainPhase(c,c100730073.skill,c100730073.con,aux.Stringid(100730073,0)) aux.SpeedDuelAtMainPhase(c,c100730073.skill,c100730073.con,aux.Stringid(100730073,0))
aux.RegisterSpeedDuelSkillCardCommon() aux.RegisterSpeedDuelSkillCardCommon()
end end
function c100730073.con(e,tp) function c100730073.con(e,tp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
local ct=Duel.GetFieldGroupCount(tp,LOCATION_HAND,0) local ct=Duel.GetFieldGroupCount(tp,LOCATION_HAND,0)
return aux.SpeedDuelAtMainPhaseCondition(e,tp) return aux.SpeedDuelAtMainPhaseCondition(e,tp)
and Duel.GetTurnCount(tp)==2 and Duel.GetTurnCount(tp)==2
and ct>2 and ct>2
and Duel.IsExistingMatchingCard(Card.IsSetCard,tp,LOCATION_DECK,0,ct-2,nil,0xb) and Duel.IsExistingMatchingCard(Card.IsSetCard,tp,LOCATION_DECK,0,ct-2,nil,0xb)
end end
function c100730073.skill(e,tp) function c100730073.skill(e,tp)
tp=e:GetLabelObject():GetOwner() tp=e:GetLabelObject():GetOwner()
Duel.Hint(HINT_CARD,1-tp,100730073) Duel.Hint(HINT_CARD,1-tp,100730073)
local ct=Duel.GetFieldGroupCount(tp,LOCATION_HAND,0)-2 local ct=Duel.GetFieldGroupCount(tp,LOCATION_HAND,0)-2
if ct<=0 then return end if ct<=0 then return end
local g=Duel.SelectMatchingCard(tp,aux.TRUE,tp,LOCATION_HAND,0,ct,ct,nil) local g=Duel.SelectMatchingCard(tp,aux.TRUE,tp,LOCATION_HAND,0,ct,ct,nil)
Duel.SendtoGrave(g,REASON_RULE+REASON_DISCARD) Duel.SendtoGrave(g,REASON_RULE+REASON_DISCARD)
local g2=Duel.SelectMatchingCard(tp,Card.IsSetCard,tp,LOCATION_DECK,0,ct,ct,nil,0xb) local g2=Duel.SelectMatchingCard(tp,Card.IsSetCard,tp,LOCATION_DECK,0,ct,ct,nil,0xb)
Duel.SendtoGrave(g2,REASON_RULE) Duel.SendtoGrave(g2,REASON_RULE)
e:Reset() e:Reset()
end end
--高速决斗技能-一手起动器 --高速决斗技能-一手起动器
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730074.initial_effect(c) function c100730074.initial_effect(c)
aux.SpeedDuelBeforeDraw(c,c100730074.skill) aux.SpeedDuelMoveCardToDeckCommon(72896720,c)
aux.RegisterSpeedDuelSkillCardCommon() aux.SpeedDuelMoveCardToDeckCommon(38904695,c)
end aux.SpeedDuelMoveCardToDeckCommon(81020646,c)
function c100730074.skill(e,tp,eg,ep,ev,re,r,rp) aux.SpeedDuelBeforeDraw(c,c100730074.skill)
tp=e:GetLabelObject():GetOwner() aux.RegisterSpeedDuelSkillCardCommon()
if Duel.IsExistingMatchingCard(Card.IsAttribute,tp,LOCATION_DECK,0,1,nil,0x5f) then end
Duel.Hint(HINT_MESSAGE,tp,aux.Stringid(100730074,0)) function c100730074.skill(e,tp,eg,ep,ev,re,r,rp)
else tp=e:GetLabelObject():GetOwner()
local g=Duel.GetFieldGroup(tp,LOCATION_HAND,0) e:Reset()
local c=g:RandomSelect(tp,1) if Duel.IsExistingMatchingCard(Card.IsAttribute,tp,LOCATION_DECK,0,1,nil,0x5f) then
g:RemoveCard(c) Duel.Hint(HINT_MESSAGE,tp,aux.Stringid(100730074,0))
aux.SpeedDuelSendToDeckWithExile(tp,g) else
local e1=Effect.GlobalEffect() local g=Duel.GetFieldGroup(tp,LOCATION_HAND,0)
e1:SetType(EFFECT_TYPE_FIELD) local c=g:RandomSelect(tp,1)
e1:SetCode(EFFECT_DRAW_COUNT) g:RemoveCard(c)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) aux.SpeedDuelSendToDeckWithExile(tp,g)
e1:SetTargetRange(1,0) local e1=Effect.GlobalEffect()
e1:SetValue(2) e1:SetType(EFFECT_TYPE_FIELD)
Duel.RegisterEffect(e1,tp) e1:SetCode(EFFECT_DRAW_COUNT)
end e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
end e1:SetTargetRange(1,0)
e1:SetValue(2)
Duel.RegisterEffect(e1,tp)
end
end
--高速决斗技能-空手组合技100 --高速决斗技能-仪式大师
Duel.LoadScript("speed_duel_common.lua") Duel.LoadScript("speed_duel_common.lua")
function c100730075.initial_effect(c) function c100730075.initial_effect(c)
aux.SpeedDuelMoveCardToFieldCommon(95453143,c) aux.SpeedDuelAtMainPhase(c,c100730075.skill,c100730075.con,aux.Stringid(100730075,0))
aux.SpeedDuelBeforeDraw(c,c100730075.skill) aux.RegisterSpeedDuelSkillCardCommon()
aux.RegisterSpeedDuelSkillCardCommon() end
end function c100730075.con(e,tp)
function c100730075.skill(e,tp,eg,ep,ev,re,r,rp) tp=e:GetLabelObject():GetOwner()
tp=e:GetLabelObject():GetOwner() return Duel.GetTurnPlayer()==tp
local g=Duel.GetFieldGroup(tp,LOCATION_HAND,0) and aux.SpeedDuelAtMainPhaseCondition(e,tp)
aux.SpeedDuelSendToDeckWithExile(tp,g) and Duel.IsExistingMatchingCard(Card.IsAbleToDeck,tp,LOCATION_HAND,0,1,nil)
and Duel.IsExistingMatchingCard(c100730075.filter,tp,LOCATION_DECK,0,1,nil)
end
function c100730075.filter(c)
return c:IsType(TYPE_RITUAL) and c:IsAbleToHand()
end
function c100730075.filter1(c)
return c:IsType(TYPE_RITUAL) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
end
function c100730075.filter2(c)
return bit.band(c:GetType(),0x82)==0x82 and c:IsAbleToHand()
end
function c100730075.skill(e,tp,c)
tp=e:GetLabelObject():GetOwner()
Duel.Hint(HINT_CARD,1-tp,100730075)
local g1=Duel.GetMatchingGroup(Card.IsAbleToDeck,tp,LOCATION_HAND,0,1,nil)
local c=g1:Select(tp,1,1,nil)
Duel.SendtoDeck(c,nil,1,REASON_RULE)
local g=Duel.GetMatchingGroup(c100730075.filter1,tp,LOCATION_DECK,0,1,nil)
local g4=Duel.GetMatchingGroup(c100730075.filter2,tp,LOCATION_DECK,0,1,nil)
local op=Duel.SelectOption(tp,aux.Stringid(100730075,1),aux.Stringid(100730075,2))
if op==0 and g:GetCount()~=0 then
local g2=g:RandomSelect(tp,1)
Duel.SendtoHand(g2,tp,REASON_RULE)
elseif op==1 and g4:GetCount()~=0 then
local g3=g4:RandomSelect(tp,1)
Duel.SendtoHand(g3,tp,REASON_RULE)
else Duel.Hint(HINT_MESSAGE,tp,aux.Stringid(100730075,3))
end
end end
\ No newline at end of file
...@@ -14,7 +14,7 @@ function c100730077.skill(e,tp) ...@@ -14,7 +14,7 @@ function c100730077.skill(e,tp)
local g2=Duel.SelectMatchingCard(tp,Card.IsCode,tp,LOCATION_DECK,0,1,1,nil,47355498) local g2=Duel.SelectMatchingCard(tp,Card.IsCode,tp,LOCATION_DECK,0,1,1,nil,47355498)
Duel.SSet(tp,g2) Duel.SSet(tp,g2)
local d=Duel.CreateToken(tp,4081094) local d=Duel.CreateToken(tp,4081094)
Duel.SendtoDeck(d,tp,0,REASON_RULE) Duel.SendtoDeck(d,tp,1,REASON_RULE)
local g=Group.CreateGroup() local g=Group.CreateGroup()
local c=Duel.CreateToken(tp,89959682) local c=Duel.CreateToken(tp,89959682)
g:AddCard(c) g:AddCard(c)
......
--高速决斗技能-这不是怪兽!是神!
Duel.LoadScript("speed_duel_common.lua")
function c100730078.initial_effect(c)
aux.SpeedDuelAtMainPhase(c,c100730078.skill,c100730078.con,aux.Stringid(100730078,0))
aux.RegisterSpeedDuelSkillCardCommon()
end
function c100730078.con(e,tp)
tp=e:GetLabelObject():GetOwner()
return aux.SpeedDuelAtMainPhaseCondition(e,tp)
and Duel.IsExistingMatchingCard(Card.IsAbleToGrave,tp,LOCATION_HAND,0,1,nil)
end
function c100730078.con(e,tp)
tp=e:GetLabelObject():GetOwner()
return aux.SpeedDuelAtMainPhaseCondition(e,tp)
and Duel.IsExistingMatchingCard(Card.IsAbleToGraveAsCost,tp,LOCATION_HAND,0,1,nil)
and Duel.IsExistingMatchingCard(Card.IsCode,tp,LOCATION_DECK+LOCATION_GRAVE,0,1,nil,10000000)
end
function c100730078.skill(e,tp)
tp=e:GetLabelObject():GetOwner()
Duel.Hint(HINT_CARD,1-tp,100730078)
local g1=Duel.SelectMatchingCard(tp,Card.IsAbleToGraveAsCost,tp,LOCATION_HAND,0,1,29,nil)
if not g1 then return end
Duel.SendtoGrave(g1,nil,REASON_EFFECT)
local g=Duel.SelectMatchingCard(tp,Card.IsCode,tp,LOCATION_DECK+LOCATION_GRAVE,0,1,1,nil,10000000)
if g:GetCount()>0 then
Duel.SendtoHand(g,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g)
if g:GetFirst():IsLocation(LOCATION_HAND) then
if Duel.IsPlayerCanSummon(tp) and Duel.IsPlayerCanAdditionalSummon(tp) and Duel.GetFlagEffect(tp,78665705)==0 then
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetDescription(aux.Stringid(100730154,0))
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetTargetRange(LOCATION_HAND,0)
e1:SetCode(EFFECT_EXTRA_SUMMON_COUNT)
e1:SetValue(0x1)
e1:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e1,tp)
local e2=e1:Clone()
e2:SetCode(EFFECT_EXTRA_SET_COUNT)
Duel.RegisterEffect(e2,tp)
Duel.RegisterFlagEffect(tp,78665705,RESET_PHASE+PHASE_END,0,1)
end
end
end
end
\ No newline at end of file
--高速决斗技能-钢铁袭击者
Duel.LoadScript("speed_duel_common.lua")
function c100730079.initial_effect(c)
aux.SpeedDuelMoveCardToFieldCommon(3113667,c)
aux.SpeedDuelMoveCardToFieldCommon(49511705,c)
aux.RegisterSpeedDuelSkillCardCommon()
end
\ No newline at end of file
--高速决斗技能-我的名字叫于贝尔
Duel.LoadScript("speed_duel_common.lua")
function c100730080.initial_effect(c)
aux.SpeedDuelAtMainPhase(c,c100730080.skill,c100730080.con,aux.Stringid(100730080,0))
aux.RegisterSpeedDuelSkillCardCommon()
end
function c100730080.con(e,tp)
tp=e:GetLabelObject():GetOwner()
return aux.SpeedDuelAtMainPhaseCondition(e,tp)
and Duel.IsExistingMatchingCard(Card.IsCode,tp,LOCATION_HAND,0,1,nil,4779091,31764700)
and Duel.IsExistingMatchingCard(Card.IsCode,tp,LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED,0,1,nil,78371393)
end
function c100730080.skill(e,tp,c)
tp=e:GetLabelObject():GetOwner()
local g=Duel.GetMatchingGroup(Card.IsCode,tp,LOCATION_HAND,0,nil,4779091,31764700)
local c=g:Select(tp,1,1,nil)
if c then
Duel.Hint(HINT_CARD,1-tp,100730080)
Duel.SendtoDeck(g,1-tp,0,REASON_RULE)
local g=Duel.SelectMatchingCard(tp,Card.IsCode,tp,LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED,0,1,1,nil,78371393)
if g:GetCount()>0 then
Duel.SendtoHand(g,nil,REASON_RULE)
Duel.ConfirmCards(1-tp,g)
end
end
end
\ No newline at end of file
--高速决斗技能-我永远在你身边
Duel.LoadScript("speed_duel_common.lua")
function c100730081.initial_effect(c)
aux.SpeedDuelAtMainPhase(c,c100730081.skill,c100730081.con,aux.Stringid(100730081,0))
aux.RegisterSpeedDuelSkillCardCommon()
end
function c100730081.con(e,tp)
tp=e:GetLabelObject():GetOwner()
return aux.SpeedDuelAtMainPhaseCondition(e,tp)
and Duel.IsExistingMatchingCard(Card.IsCode,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,1,nil,78371393,4779091,31764700)
end
function c100730081.skill(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_CARD,1-tp,100730081)
local sg=Duel.GetMatchingGroup(Card.IsCode,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,1,nil,78371393,4779091,31764700)
local g=sg:Select(tp,1,9,nil)
Duel.SendtoDeck(g,1-tp,0,REASON_RULE)
local ct=g:GetCount()
local g1=Duel.GetDecktopGroup(tp,ct)
Duel.DisableShuffleCheck()
Duel.Destroy(g1,REASON_EFFECT)
end
\ No newline at end of file
--高速决斗技能-抽卡预感:地
Duel.LoadScript("speed_duel_common.lua")
function c100730082.initial_effect(c)82
aux.SpeedDuelMoveCardToFieldCommon(5973663,c)
if not c100730082.UsedLP then
c100730082.UsedLP={}
c100730082.UsedLP[0]=0
c100730082.UsedLP[1]=0
end
aux.SpeedDuelCalculateDecreasedLP()
aux.SpeedDuelReplaceDraw(c,c100730082.skill,c100730082.con,aux.Stringid(100730082,1))
aux.RegisterSpeedDuelSkillCardCommon()
end
function c100730082.skill(e,tp,eg,ep,ev,re,r,rp)
tp = e:GetLabelObject():GetOwner()
if Duel.SelectYesNo(tp,aux.Stringid(100730082,0)) then
Duel.Hint(HINT_CARD,1-tp,100730082)
c100730082.UsedLP[tp]=c100730082.UsedLP[tp]+1500
local g=Duel.GetMatchingGroup(Card.IsAttribute,tp,LOCATION_DECK,0,nil,ATTRIBUTE_EARTH)
if not g or g:GetCount()==0 then return end
g=g:RandomSelect(tp,1)
Duel.MoveSequence(g:GetFirst(),0)
e:Reset()
end
end
function c100730082.con(e,tp,eg,ep,ev,re,r,rp)
tp = e:GetLabelObject():GetOwner()
return Duel.GetTurnPlayer()==tp
and Duel.GetMatchingGroupCount(Card.IsAttribute,tp,LOCATION_DECK,0,nil,ATTRIBUTE_EARTH)>0
and aux.DecreasedLP[tp]-c100730082.UsedLP[tp] >= 1500
end
\ No newline at end of file
--高速决斗技能-抽卡预感:炎
Duel.LoadScript("speed_duel_common.lua")
function c100730083.initial_effect(c)
aux.SpeedDuelMoveCardToFieldCommon(94804055,c)
if not c100730083.UsedLP then
c100730083.UsedLP={}
c100730083.UsedLP[0]=0
c100730083.UsedLP[1]=0
end
aux.SpeedDuelCalculateDecreasedLP()
aux.SpeedDuelReplaceDraw(c,c100730083.skill,c100730083.con,aux.Stringid(100730083,1))
aux.RegisterSpeedDuelSkillCardCommon()
end
function c100730083.skill(e,tp,eg,ep,ev,re,r,rp)
tp = e:GetLabelObject():GetOwner()
if Duel.SelectYesNo(tp,aux.Stringid(100730083,0)) then
Duel.Hint(HINT_CARD,1-tp,100730083)
c100730083.UsedLP[tp]=c100730083.UsedLP[tp]+1500
local g=Duel.GetMatchingGroup(Card.IsAttribute,tp,LOCATION_DECK,0,nil,ATTRIBUTE_FIRE)
if not g or g:GetCount()==0 then return end
g=g:RandomSelect(tp,1)
Duel.MoveSequence(g:GetFirst(),0)
e:Reset()
end
end
function c100730083.con(e,tp,eg,ep,ev,re,r,rp)
tp = e:GetLabelObject():GetOwner()
return Duel.GetTurnPlayer()==tp
and Duel.GetMatchingGroupCount(Card.IsAttribute,tp,LOCATION_DECK,0,nil,ATTRIBUTE_FIRE)>0
and aux.DecreasedLP[tp]-c100730083.UsedLP[tp] >= 1500
end
\ No newline at end of file
--高速决斗技能-抽卡预感:水
Duel.LoadScript("speed_duel_common.lua")
function c100730084.initial_effect(c)
aux.SpeedDuelMoveCardToFieldCommon(95132338,c)
if not c100730084.UsedLP then
c100730084.UsedLP={}
c100730084.UsedLP[0]=0
c100730084.UsedLP[1]=0
end
aux.SpeedDuelCalculateDecreasedLP()
aux.SpeedDuelReplaceDraw(c,c100730084.skill,c100730084.con,aux.Stringid(100730084,1))
aux.RegisterSpeedDuelSkillCardCommon()
end
function c100730084.skill(e,tp,eg,ep,ev,re,r,rp)
tp = e:GetLabelObject():GetOwner()
if Duel.SelectYesNo(tp,aux.Stringid(100730084,0)) then
Duel.Hint(HINT_CARD,1-tp,100730084)
c100730084.UsedLP[tp]=c100730084.UsedLP[tp]+1500
local g=Duel.GetMatchingGroup(Card.IsAttribute,tp,LOCATION_DECK,0,nil,ATTRIBUTE_WATER)
if not g or g:GetCount()==0 then return end
g=g:RandomSelect(tp,1)
Duel.MoveSequence(g:GetFirst(),0)
e:Reset()
end
end
function c100730084.con(e,tp,eg,ep,ev,re,r,rp)
tp = e:GetLabelObject():GetOwner()
return Duel.GetTurnPlayer()==tp
and Duel.GetMatchingGroupCount(Card.IsAttribute,tp,LOCATION_DECK,0,nil,ATTRIBUTE_WATER)>0
and aux.DecreasedLP[tp]-c100730084.UsedLP[tp] >= 1500
end
\ No newline at end of file
--高速决斗技能-抽卡预感:风
Duel.LoadScript("speed_duel_common.lua")
function c100730085.initial_effect(c)
aux.SpeedDuelMoveCardToFieldCommon(26022485,c)
if not c100730085.UsedLP then
c100730085.UsedLP={}
c100730085.UsedLP[0]=0
c100730085.UsedLP[1]=0
end
aux.SpeedDuelCalculateDecreasedLP()
aux.SpeedDuelReplaceDraw(c,c100730085.skill,c100730085.con,aux.Stringid(100730085,1))
aux.RegisterSpeedDuelSkillCardCommon()
end
function c100730085.skill(e,tp,eg,ep,ev,re,r,rp)
tp = e:GetLabelObject():GetOwner()
if Duel.SelectYesNo(tp,aux.Stringid(100730085,0)) then
Duel.Hint(HINT_CARD,1-tp,100730085)
c100730085.UsedLP[tp]=c100730085.UsedLP[tp]+1500
local g=Duel.GetMatchingGroup(Card.IsAttribute,tp,LOCATION_DECK,0,nil,ATTRIBUTE_WIND)
if not g or g:GetCount()==0 then return end
g=g:RandomSelect(tp,1)
Duel.MoveSequence(g:GetFirst(),0)
e:Reset()
end
end
function c100730085.con(e,tp,eg,ep,ev,re,r,rp)
tp = e:GetLabelObject():GetOwner()
return Duel.GetTurnPlayer()==tp
and Duel.GetMatchingGroupCount(Card.IsAttribute,tp,LOCATION_DECK,0,nil,ATTRIBUTE_WIND)>0
and aux.DecreasedLP[tp]-c100730085.UsedLP[tp] >= 1500
end
\ No newline at end of file
--高速决斗技能-抽卡预感:暗
Duel.LoadScript("speed_duel_common.lua")
function c100730086.initial_effect(c)
aux.SpeedDuelMoveCardToFieldCommon(6733059,c)
if not c100730086.UsedLP then
c100730086.UsedLP={}
c100730086.UsedLP[0]=0
c100730086.UsedLP[1]=0
end
aux.SpeedDuelCalculateDecreasedLP()
aux.SpeedDuelReplaceDraw(c,c100730086.skill,c100730086.con,aux.Stringid(100730086,1))
aux.RegisterSpeedDuelSkillCardCommon()
end
function c100730086.skill(e,tp,eg,ep,ev,re,r,rp)
tp = e:GetLabelObject():GetOwner()
if Duel.SelectYesNo(tp,aux.Stringid(100730086,0)) then
Duel.Hint(HINT_CARD,1-tp,100730086)
c100730086.UsedLP[tp]=c100730086.UsedLP[tp]+1500
local g=Duel.GetMatchingGroup(Card.IsAttribute,tp,LOCATION_DECK,0,nil,ATTRIBUTE_DARK)
if not g or g:GetCount()==0 then return end
g=g:RandomSelect(tp,1)
Duel.MoveSequence(g:GetFirst(),0)
e:Reset()
end
end
function c100730086.con(e,tp,eg,ep,ev,re,r,rp)
tp = e:GetLabelObject():GetOwner()
return Duel.GetTurnPlayer()==tp
and Duel.GetMatchingGroupCount(Card.IsAttribute,tp,LOCATION_DECK,0,nil,ATTRIBUTE_DARK)>0
and aux.DecreasedLP[tp]-c100730086.UsedLP[tp] >= 1500
end
\ No newline at end of file
--高速决斗技能-抽卡预感:光
Duel.LoadScript("speed_duel_common.lua")
function c100730087.initial_effect(c)
aux.SpeedDuelMoveCardToFieldCommon(62867251,c)
if not c100730087.UsedLP then
c100730087.UsedLP={}
c100730087.UsedLP[0]=0
c100730087.UsedLP[1]=0
end
aux.SpeedDuelCalculateDecreasedLP()
aux.SpeedDuelReplaceDraw(c,c100730087.skill,c100730087.con,aux.Stringid(100730087,1))
aux.RegisterSpeedDuelSkillCardCommon()
end
function c100730087.skill(e,tp,eg,ep,ev,re,r,rp)
tp = e:GetLabelObject():GetOwner()
if Duel.SelectYesNo(tp,aux.Stringid(100730087,0)) then
Duel.Hint(HINT_CARD,1-tp,100730087)
c100730087.UsedLP[tp]=c100730087.UsedLP[tp]+1500
local g=Duel.GetMatchingGroup(Card.IsAttribute,tp,LOCATION_DECK,0,nil,ATTRIBUTE_LIGHT)
if not g or g:GetCount()==0 then return end
g=g:RandomSelect(tp,1)
Duel.MoveSequence(g:GetFirst(),0)
e:Reset()
end
end
function c100730087.con(e,tp,eg,ep,ev,re,r,rp)
tp = e:GetLabelObject():GetOwner()
return Duel.GetTurnPlayer()==tp
and Duel.GetMatchingGroupCount(Card.IsAttribute,tp,LOCATION_DECK,0,nil,ATTRIBUTE_LIGHT)>0
and aux.DecreasedLP[tp]-c100730087.UsedLP[tp] >= 1500
end
\ No newline at end of file
--高速决斗技能--嘻嘻嘻嘻(虫鸣不止)
Duel.LoadScript("speed_duel_common.lua")
function c100730088.initial_effect(c)
aux.SpeedDuelMoveCardToFieldCommon(22991179,c)
if not c100730088.UsedLP then
c100730088.UsedLP={}
c100730088.UsedLP[0]=0
c100730088.UsedLP[1]=0
end
aux.SpeedDuelCalculateDecreasedLP()
aux.SpeedDuelReplaceDraw(c,c100730088.skill,c100730088.con,aux.Stringid(100730088,1))
aux.RegisterSpeedDuelSkillCardCommon()
end
function c100730088.skill(e,tp,eg,ep,ev,re,r,rp)
tp = e:GetLabelObject():GetOwner()
if Duel.SelectYesNo(tp,aux.Stringid(100730088,0)) then
Duel.Hint(HINT_CARD,1-tp,100730088)
c100730088.UsedLP[tp]=c100730088.UsedLP[tp]+1000
local g=Duel.GetMatchingGroup(Card.IsRace,tp,LOCATION_DECK,0,nil,RACE_INSECT)
if not g or g:GetCount()==0 then return end
g=g:RandomSelect(tp,1)
Duel.MoveSequence(g:GetFirst(),0)
e:Reset()
end
end
function c100730088.con(e,tp,eg,ep,ev,re,r,rp)
tp = e:GetLabelObject():GetOwner()
return Duel.GetTurnPlayer()==tp
and Duel.GetMatchingGroupCount(Card.IsRace,tp,LOCATION_DECK,0,nil,RACE_INSECT)>0
and aux.DecreasedLP[tp]-c100730088.UsedLP[tp] >= 1000
end
\ No newline at end of file
--高速决斗技能--丧尸招来
Duel.LoadScript("speed_duel_common.lua")
function c100730089.initial_effect(c)
aux.SpeedDuelMoveCardToFieldCommon(66835946,c)
if not c100730089.UsedLP then
c100730089.UsedLP={}
c100730089.UsedLP[0]=0
c100730089.UsedLP[1]=0
end
aux.SpeedDuelCalculateDecreasedLP()
aux.SpeedDuelReplaceDraw(c,c100730089.skill,c100730089.con,aux.Stringid(100730089,1))
aux.RegisterSpeedDuelSkillCardCommon()
end
function c100730089.skill(e,tp,eg,ep,ev,re,r,rp)
tp = e:GetLabelObject():GetOwner()
if Duel.SelectYesNo(tp,aux.Stringid(100730089,0)) then
Duel.Hint(HINT_CARD,1-tp,100730089)
c100730089.UsedLP[tp]=c100730089.UsedLP[tp]+1000
local g=Duel.GetMatchingGroup(Card.IsRace,tp,LOCATION_DECK,0,nil,RACE_ZOMBIE)
if not g or g:GetCount()==0 then return end
g=g:RandomSelect(tp,1)
Duel.MoveSequence(g:GetFirst(),0)
e:Reset()
end
end
function c100730089.con(e,tp,eg,ep,ev,re,r,rp)
tp = e:GetLabelObject():GetOwner()
return Duel.GetTurnPlayer()==tp
and Duel.GetMatchingGroupCount(Card.IsRace,tp,LOCATION_DECK,0,nil,RACE_ZOMBIE)>0
and aux.DecreasedLP[tp]-c100730089.UsedLP[tp] >= 1000
end
\ No newline at end of file
--高速决斗技能-魔力流通
Duel.LoadScript("speed_duel_common.lua")
function c100730090.initial_effect(c)
aux.SpeedDuelMoveCardToFieldCommon(51481927,c)
if not c100730090.UsedLP then
c100730090.UsedLP={}
c100730090.UsedLP[0]=0
c100730090.UsedLP[1]=0
end
aux.SpeedDuelCalculateDecreasedLP()
aux.SpeedDuelReplaceDraw(c,c100730090.skill,c100730090.con,aux.Stringid(100730090,1))
aux.RegisterSpeedDuelSkillCardCommon()
end
function c100730090.skill(e,tp,eg,ep,ev,re,r,rp)
tp = e:GetLabelObject():GetOwner()
if Duel.SelectYesNo(tp,aux.Stringid(100730090,0)) then
Duel.Hint(HINT_CARD,1-tp,100730090)
c100730090.UsedLP[tp]=c100730090.UsedLP[tp]+1500
local g=Duel.GetMatchingGroup(Card.IsRace,tp,LOCATION_DECK,0,nil,RACE_SPELLCASTER)
if not g or g:GetCount()==0 then return end
g=g:RandomSelect(tp,1)
Duel.MoveSequence(g:GetFirst(),0)
e:Reset()
end
end
function c100730090.con(e,tp,eg,ep,ev,re,r,rp)
tp = e:GetLabelObject():GetOwner()
return Duel.GetTurnPlayer()==tp
and Duel.GetMatchingGroupCount(Card.IsRace,tp,LOCATION_DECK,0,nil,RACE_SPELLCASTER)>0
and aux.DecreasedLP[tp]-c100730090.UsedLP[tp] >= 1500
end
\ No newline at end of file
--高速决斗技能-增援
Duel.LoadScript("speed_duel_common.lua")
function c100730091.initial_effect(c)
aux.SpeedDuelMoveCardToFieldCommon(10012614,c)
if not c100730091.UsedLP then
c100730091.UsedLP={}
c100730091.UsedLP[0]=0
c100730091.UsedLP[1]=0
end
aux.SpeedDuelCalculateDecreasedLP()
aux.SpeedDuelReplaceDraw(c,c100730091.skill,c100730091.con,aux.Stringid(100730091,1))
aux.RegisterSpeedDuelSkillCardCommon()
end
function c100730091.skill(e,tp,eg,ep,ev,re,r,rp)
tp = e:GetLabelObject():GetOwner()
if Duel.SelectYesNo(tp,aux.Stringid(100730091,0)) then
Duel.Hint(HINT_CARD,1-tp,100730091)
c100730091.UsedLP[tp]=c100730091.UsedLP[tp]+1500
local g=Duel.GetMatchingGroup(Card.IsRace,tp,LOCATION_DECK,0,nil,RACE_WARRIOR)
if not g or g:GetCount()==0 then return end
g=g:RandomSelect(tp,1)
Duel.MoveSequence(g:GetFirst(),0)
e:Reset()
end
end
function c100730091.con(e,tp,eg,ep,ev,re,r,rp)
tp = e:GetLabelObject():GetOwner()
return Duel.GetTurnPlayer()==tp
and Duel.GetMatchingGroupCount(Card.IsRace,tp,LOCATION_DECK,0,nil,RACE_WARRIOR)>0
and aux.DecreasedLP[tp]-c100730091.UsedLP[tp] >= 1500
end
\ No newline at end of file
--高速决斗技能--生命总会找到出路
Duel.LoadScript("speed_duel_common.lua")
function c100730092.initial_effect(c)
aux.SpeedDuelMoveCardToFieldCommon(54407825,c)
if not c100730092.UsedLP then
c100730092.UsedLP={}
c100730092.UsedLP[0]=0
c100730092.UsedLP[1]=0
end
aux.SpeedDuelCalculateDecreasedLP()
aux.SpeedDuelReplaceDraw(c,c100730092.skill,c100730092.con,aux.Stringid(100730092,1))
aux.RegisterSpeedDuelSkillCardCommon()
end
function c100730092.skill(e,tp,eg,ep,ev,re,r,rp)
tp = e:GetLabelObject():GetOwner()
if Duel.SelectYesNo(tp,aux.Stringid(100730092,0)) then
Duel.Hint(HINT_CARD,1-tp,100730092)
c100730092.UsedLP[tp]=c100730092.UsedLP[tp]+1000
local g=Duel.GetMatchingGroup(Card.IsRace,tp,LOCATION_DECK,0,nil,RACE_DINOSAUR)
if not g or g:GetCount()==0 then return end
g=g:RandomSelect(tp,1)
Duel.MoveSequence(g:GetFirst(),0)
e:Reset()
end
end
function c100730092.con(e,tp,eg,ep,ev,re,r,rp)
tp = e:GetLabelObject():GetOwner()
return Duel.GetTurnPlayer()==tp
and Duel.GetMatchingGroupCount(Card.IsRace,tp,LOCATION_DECK,0,nil,RACE_DINOSAUR)>0
and aux.DecreasedLP[tp]-c100730092.UsedLP[tp] >= 1000
end
\ No newline at end of file
--高速决斗技能-抽卡预感:魔法·陷阱
Duel.LoadScript("speed_duel_common.lua")
function c100730093.initial_effect(c)
aux.SpeedDuelMoveCardToFieldCommon(96316857,c)
if not c100730093.UsedLP then
c100730093.UsedLP={}
c100730093.UsedLP[0]=0
c100730093.UsedLP[1]=0
end
aux.SpeedDuelCalculateDecreasedLP()
aux.SpeedDuelReplaceDraw(c,c100730093.skill,c100730093.con,aux.Stringid(100730093,1))
aux.RegisterSpeedDuelSkillCardCommon()
end
function c100730093.skill(e,tp,eg,ep,ev,re,r,rp)
tp = e:GetLabelObject():GetOwner()
if Duel.SelectYesNo(tp,aux.Stringid(100730093,0)) then
Duel.Hint(HINT_CARD,1-tp,100730093)
c100730093.UsedLP[tp]=c100730093.UsedLP[tp]+1000
local g=Duel.GetMatchingGroup(Card.IsType,tp,LOCATION_DECK,0,nil,TYPE_SPELL+TYPE_TRAP)
if not g or g:GetCount()==0 then return end
g=g:RandomSelect(tp,1)
Duel.MoveSequence(g:GetFirst(),0)
e:Reset()
end
end
function c100730093.con(e,tp,eg,ep,ev,re,r,rp)
tp = e:GetLabelObject():GetOwner()
return Duel.GetTurnPlayer()==tp
and Duel.GetMatchingGroupCount(Card.IsType,tp,LOCATION_DECK,0,nil,TYPE_SPELL+TYPE_TRAP)>0
and aux.DecreasedLP[tp]-c100730093.UsedLP[tp] >= 1000
end
\ No newline at end of file
--高速决斗技能-电子化天使的祝福
Duel.LoadScript("speed_duel_common.lua")
function c100730094.initial_effect(c)
aux.SpeedDuelMoveCardToFieldCommon(91946859,c)
aux.SpeedDuelReplaceDraw(c,c100730094.skill,c100730094.con,aux.Stringid(100730094,1))
aux.RegisterSpeedDuelSkillCardCommon()
end
function c100730094.con(e,tp)
tp=e:GetLabelObject():GetOwner()
return Duel.GetTurnPlayer()==tp and Duel.GetLP(tp)<=5000
end
function c100730094.skill(e,tp)
tp=e:GetLabelObject():GetOwner()
if Duel.SelectYesNo(tp,aux.Stringid(100730094,0)) then
Duel.Hint(HINT_CARD,1-tp,100730094)
Duel.Hint(HINT_MESSAGE,tp,aux.Stringid(100730094,1))
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CODE)
getmetatable(e:GetHandler()).announce_filter={TYPE_RITUAL,OPCODE_ISTYPE,TYPE_FUSION+TYPE_SYNCHRO+TYPE_XYZ+TYPE_LINK,OPCODE_ISTYPE,OPCODE_NOT,OPCODE_AND}
local ac=Duel.AnnounceCard(tp,table.unpack(getmetatable(e:GetHandler()).announce_filter))
local c=Duel.CreateToken(tp,ac)
if c:IsSetCard(0x2093) then
Duel.SendtoDeck(c,tp,0,REASON_RULE)
else Duel.Hint(HINT_MESSAGE,tp,aux.Stringid(100730094,2))
end
end
end
\ No newline at end of file
--高速决斗技能-别找借口!
Duel.LoadScript("speed_duel_common.lua")
function c100730095.initial_effect(c)
aux.SpeedDuelReplaceDraw(c,c100730095.skill,c100730095.con,aux.Stringid(100730095,1))
aux.SpeedDuelMoveCardToFieldCommon(63477921,c)
aux.RegisterSpeedDuelSkillCardCommon()
end
function c100730095.con(e,tp)
tp=e:GetLabelObject():GetOwner()
return Duel.GetTurnPlayer()==tp and Duel.GetLP(tp)<=4000
end
function c100730095.skill(e,tp)
tp=e:GetLabelObject():GetOwner()
if Duel.SelectYesNo(tp,aux.Stringid(100730095,0)) then
Duel.Hint(HINT_CARD,1-tp,100730095)
local c=Duel.CreateToken(tp,37630732)
Duel.SendtoDeck(c,tp,0,REASON_RULE)
e:Reset()
end
end
\ No newline at end of file
--高速决斗技能-元素合体!
Duel.LoadScript("speed_duel_common.lua")
function c100730096.initial_effect(c)
aux.SpeedDuelAtMainPhase(c,c100730096.skill,c100730096.con,aux.Stringid(100730096,2))
aux.RegisterSpeedDuelSkillCardCommon()
end
function c100730096.con(e,tp)
tp=e:GetLabelObject():GetOwner()
local g=Duel.GetMatchingGroup(c100730096.spfilter,tp,LOCATION_DECK+LOCATION_HAND,0,nil,tp)
return aux.SpeedDuelAtMainPhaseCondition(e,tp)
and Duel.IsPlayerCanSpecialSummon(tp)
and Duel.GetMZoneCount(tp)>0
and not Duel.IsExistingMatchingCard(Card.IsCode,tp,LOCATION_MZONE,0,1,nil,25833572)
and g:GetClassCount(Card.GetCode)>=3
and Duel.IsExistingMatchingCard(Card.IsCode,tp,LOCATION_DECK+LOCATION_HAND,0,1,nil,25833572)
and Duel.IsExistingMatchingCard(Card.IsAbleToDeck,tp,LOCATION_HAND,0,2,nil)
end
function c100730096.spfilter(c)
return c:IsCode(98434877) or c:IsCode(62340868) or c:IsCode(25955164)
end
function c100730096.skill(e,tp,c)
tp=e:GetLabelObject():GetOwner()
Duel.Hint(HINT_CARD,1-tp,100730096)
local g=Duel.GetMatchingGroup(Card.IsAbleToDeck,tp,LOCATION_HAND,0,2,nil)
local c=g:Select(tp,2,2,nil)
Duel.SendtoDeck(c,nil,2,REASON_RULE)
local sg=Duel.GetMatchingGroup(c100730096.spfilter,tp,LOCATION_DECK+LOCATION_HAND,0,nil)
local g1=sg:SelectSubGroup(tp,aux.dncheck,false,3,3)
local g2=Duel.SelectMatchingCard(tp,Card.IsCode,tp,LOCATION_DECK+LOCATION_HAND,0,1,1,nil,25833572)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local tc=g2:GetFirst()
Duel.SpecialSummonStep(tc,0,tp,tp,true,true,POS_FACEUP)
local e1=Effect.CreateEffect(tc)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_ADD_TYPE)
e1:SetValue(TYPE_XYZ)
e1:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e1,true)
Duel.Overlay(tc,g1)
local e2=Effect.CreateEffect(tc)
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_LEAVE_FIELD_REDIRECT)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e2:SetReset(RESET_EVENT+RESETS_REDIRECT)
e2:SetValue(LOCATION_DECKBOT)
tc:RegisterEffect(e2)
local e3=Effect.CreateEffect(tc)
e3:SetDescription(aux.Stringid(100730096,1))
e3:SetCategory(CATEGORY_ATKCHANGE)
e3:SetType(EFFECT_TYPE_QUICK_O)
e3:SetRange(LOCATION_MZONE)
e3:SetCode(EVENT_PRE_DAMAGE_CALCULATE)
e3:SetRange(LOCATION_MZONE)
e3:SetCountLimit(1)
e3:SetCondition(c100730096.condition)
e3:SetCost(c100730096.cost)
e3:SetTarget(c100730096.target)
e3:SetOperation(c100730096.operation)
tc:RegisterEffect(e3)
local e4=Effect.CreateEffect(tc)
e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e4:SetCode(EFFECT_DESTROY_REPLACE)
e4:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e4:SetRange(LOCATION_MZONE)
e4:SetTarget(c100730096.reptg)
tc:RegisterEffect(e4)
local e5=Effect.CreateEffect(tc)
e5:SetDescription(aux.Stringid(100730096,0))
e5:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e5:SetCode(EVENT_BATTLE_DESTROYING)
e5:SetCountLimit(1)
e5:SetCondition(c100730096.atcon)
e5:SetCost(c100730096.atcost)
e5:SetOperation(c100730096.atop)
tc:RegisterEffect(e5)
Duel.SpecialSummonComplete()
end
function c100730096.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()~=tp and Duel.GetAttackTarget()==e:GetHandler()
end
function c100730096.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end
e:GetHandler():RemoveOverlayCard(tp,1,1,REASON_COST)
end
function c100730096.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetAttacker():IsCanBeEffectTarget(e) end
Duel.SetTargetCard(Duel.GetAttacker())
end
function c100730096.operation(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tc=Duel.GetFirstTarget()
if tc:IsFaceup() and tc:IsRelateToEffect(e) and tc:GetAttack()>0 then
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SET_ATTACK_FINAL)
e1:SetValue(0)
e1:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e1)
end
end
function c100730096.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return c:IsReason(REASON_BATTLE+REASON_EFFECT) and not c:IsReason(REASON_REPLACE) and c:CheckRemoveOverlayCard(tp,1,REASON_EFFECT) end
if Duel.SelectEffectYesNo(tp,e:GetHandler(),96) then
c:RemoveOverlayCard(tp,1,1,REASON_EFFECT)
return true
else return false end
end
function c100730096.atcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local bc=c:GetBattleTarget()
return bc:IsLocation(LOCATION_GRAVE) and bc:IsType(TYPE_MONSTER) and c:IsChainAttackable() and c:IsStatus(STATUS_OPPO_BATTLE)
end
function c100730096.atcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end
e:GetHandler():RemoveOverlayCard(tp,1,1,REASON_COST)
end
function c100730096.atop(e,tp,eg,ep,ev,re,r,rp)
Duel.ChainAttack()
end
--高速决斗技能-丧悼之假面
Duel.LoadScript("speed_duel_common.lua")
function c100730097.initial_effect(c)
aux.SpeedDuelAtMainPhase(c,c100730097.skill,c100730097.con,aux.Stringid(100730097,0))
aux.RegisterSpeedDuelSkillCardCommon()
end
function c100730097.con(e,tp)
tp=e:GetLabelObject():GetOwner()
return aux.SpeedDuelAtMainPhaseCondition(e,tp)
and Duel.IsPlayerCanSpecialSummon(tp)
and Duel.GetMZoneCount(tp)>0
and Duel.IsExistingMatchingCard(Card.IsCode,tp,LOCATION_MZONE+LOCATION_GRAVE,0,2,nil,13676474,86569121)
and Duel.IsExistingMatchingCard(Card.IsCode,tp,LOCATION_DECK+LOCATION_GRAVE+LOCATION_HAND,0,1,nil,48948935)
end
function c100730097.skill(e,tp,c)
tp=e:GetLabelObject():GetOwner()
Duel.Hint(HINT_CARD,1-tp,100730097)
local g1=Duel.GetMatchingGroup(Card.IsCode,tp,LOCATION_MZONE+LOCATION_GRAVE,0,2,nil,13676474,86569121)
local c=g1:Select(tp,2,2,nil)
if c then
Duel.ConfirmCards(1-tp,c)
Duel.SendtoDeck(c,nil,2,REASON_RULE)
local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(c100730097.filter),tp,LOCATION_DECK+LOCATION_GRAVE+LOCATION_HAND,0,1,1,nil)
if g:GetCount()>0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local tc=g:GetFirst()
if tc and Duel.SpecialSummonStep(tc,0,tp,tp,true,true,POS_FACEUP) then
local e1=Effect.GlobalEffect()
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_OATH)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetReset(RESET_PHASE+PHASE_END)
e1:SetTargetRange(1,0)
Duel.RegisterEffect(e1,tp,true)
e1:SetOwnerPlayer(tp)
tc:RegisterEffect(e1,true)
end
Duel.SpecialSummonComplete()
end
end
end
function c100730097.filter(c)
return c:IsCode(48948935)
end
\ No newline at end of file
--高速决斗技能-宇宙启示
Duel.LoadScript("speed_duel_common.lua")
function c100730098.initial_effect(c)
aux.SpeedDuelMoveCardToFieldCommon(91654806,c)
if not c100730098.UsedLP then
c100730098.UsedLP={}
c100730098.UsedLP[0]=0
c100730098.UsedLP[1]=0
end
aux.SpeedDuelCalculateDecreasedLP()
aux.SpeedDuelReplaceDraw(c,c100730098.skill,c100730098.con,aux.Stringid(100730098,1))
aux.RegisterSpeedDuelSkillCardCommon()
end
function c100730098.skill(e,tp,eg,ep,ev,re,r,rp)
tp = e:GetLabelObject():GetOwner()
if Duel.SelectYesNo(tp,aux.Stringid(100730098,0)) then
Duel.Hint(HINT_CARD,1-tp,100730098)
c100730098.UsedLP[tp]=c100730098.UsedLP[tp]+1000
local g=Duel.GetMatchingGroup(Card.IsType,tp,LOCATION_DECK,0,nil,RACE_PSYCHO)
if not g or g:GetCount()==0 then return end
g=g:RandomSelect(tp,1)
Duel.MoveSequence(g:GetFirst(),0)
e:Reset()
end
end
function c100730098.con(e,tp,eg,ep,ev,re,r,rp)
tp = e:GetLabelObject():GetOwner()
return Duel.GetTurnPlayer()==tp
and Duel.GetMatchingGroupCount(Card.IsType,tp,LOCATION_DECK,0,nil,RACE_PSYCHO)>0
and aux.DecreasedLP[tp]-c100730098.UsedLP[tp] >= 1000
end
\ No newline at end of file
--高速决斗技能-暗之诱惑
Duel.LoadScript("speed_duel_common.lua")
function c100730099.initial_effect(c)
aux.SpeedDuelMoveCardToFieldCommon(61623148,c)
if not c100730099.UsedLP then
c100730099.UsedLP={}
c100730099.UsedLP[0]=0
c100730099.UsedLP[1]=0
end
aux.SpeedDuelCalculateDecreasedLP()
aux.SpeedDuelReplaceDraw(c,c100730099.skill,c100730099.con,aux.Stringid(100730099,1))
aux.RegisterSpeedDuelSkillCardCommon()
end
function c100730099.skill(e,tp,eg,ep,ev,re,r,rp)
tp = e:GetLabelObject():GetOwner()
if Duel.SelectYesNo(tp,aux.Stringid(100730099,0)) then
Duel.Hint(HINT_CARD,1-tp,100730099)
c100730099.UsedLP[tp]=c100730099.UsedLP[tp]+1800
Duel.Hint(HINT_CARD,1-tp,100730099)
local c=Duel.CreateToken(tp,1475311)
Duel.SendtoDeck(c,tp,0,REASON_RULE)
e:Reset()
end
end
function c100730099.con(e,tp,eg,ep,ev,re,r,rp)
tp = e:GetLabelObject():GetOwner()
return Duel.GetTurnPlayer()==tp
and aux.DecreasedLP[tp]-c100730099.UsedLP[tp] >= 1800
end
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment