--高速决斗技能-进化后的最强龙族
Duel.LoadScript("speed_duel_common.lua")
function c100730046.initial_effect(c)
	aux.SpeedDuelMoveCardToDeckCommon(23995346,c)
	aux.SpeedDuelMoveCardToDeckCommon(56532353,c)
	aux.SpeedDuelMoveCardToDeckCommon(2129638,c)
	aux.SpeedDuelMoveCardToDeckCommon(62873545,c)
	aux.SpeedDuelMoveCardToDeckCommon(43228023,c)
	aux.SpeedDuelAtMainPhase(c,c100730046.skill,c100730046.con,aux.Stringid(100730106,0))
	aux.RegisterSpeedDuelSkillCardCommon()
end
function c100730046.con(e,tp)
	tp=e:GetLabelObject():GetOwner()
	return aux.SpeedDuelAtMainPhaseCondition(e,tp)
		and Duel.IsExistingMatchingCard(Card.IsCode,tp,LOCATION_HAND,0,2,nil,89631139)
end
function c100730046.skill(e,tp,c)
	tp=e:GetLabelObject():GetOwner()
	Duel.Hint(HINT_CARD,1-tp,100730046)
	local g=Duel.GetMatchingGroup(Card.IsCode,tp,LOCATION_HAND,0,nil,89631139)
	Duel.ConfirmCards(1-tp,g)
	local d=Duel.CreateToken(tp,24094653)
	Duel.SendtoHand(d,nil,REASON_RULE)
	Duel.ConfirmCards(1-tp,d)
	if g:GetCount()==3 then
		local c=Duel.CreateToken(tp,53347303)
		Duel.SendtoHand(c,nil,REASON_RULE)
		Duel.ConfirmCards(1-tp,c)
	end
	e:Reset()
end