Wild
Pay 500 LP; destroy all "Blaze Accelerator" cards you control, and if you do, destroy as many monsters on the field as possible, then, Special Summon 1 "Wild Fire Token" (Pyro/FIRE/Level 3/ATK 1000/DEF 1000) in Attack Position. Your monsters cannot attack the turn you activate this card.
local CARD_ID_0 = 68815402 --Wild Fire Token
local SETCARD_ID_0 = 0xb9 --Blaze

local CARD_ID_0 = 68815402 --Wild Fire Token
local SETCARD_ID_0 = 0xb9 --Blaze
local s, id, o = GetID()
function s.initial_effect(c)
	--Activate
	local e1 = Effect.CreateEffect(c)
	e1:SetCategory(CATEGORY_DESTROY + CATEGORY_SPECIAL_SUMMON + CATEGORY_TOKEN)
	e1:SetType(EFFECT_TYPE_ACTIVATE)
	e1:SetCode(EVENT_FREE_CHAIN)
	e1:SetHintTiming(0, TIMINGS_CHECK_MONSTER)
	e1:SetCost(s.cost)
	e1:SetTarget(s.target)
	e1:SetOperation(s.activate)
	c:RegisterEffect(e1)
end
function s.cost(e, tp, eg, ep, ev, re, r, rp, chk)
	if chk == 0 then
		return Duel.CheckLPCost(tp, 500) and Duel.GetActivityCount(tp, ACTIVITY_ATTACK) == 0
	end
	Duel.PayLPCost(tp, 500)
	local e1 = Effect.CreateEffect(e:GetHandler())
	e1:SetType(EFFECT_TYPE_FIELD)
	e1:SetCode(EFFECT_CANNOT_ATTACK)
	e1:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE + EFFECT_FLAG_OATH)
	e1:SetTargetRange(LOCATION_MZONE, 0)
	e1:SetReset(RESET_PHASE + PHASE_END)
	Duel.RegisterEffect(e1, tp)
end
function s.filter1(c)
	return c:IsFaceup() and c:IsSetCard(SETCARD_ID_0)
end
function s.target(e, tp, eg, ep, ev, re, r, rp, chk)
	if chk == 0 then
		return Duel.IsExistingMatchingCard(s.filter1, tp, LOCATION_SZONE, 0, 1, nil)
			and Duel.IsExistingMatchingCard(aux.TRUE, tp, LOCATION_MZONE, LOCATION_MZONE, 1, nil)
			and Duel.IsPlayerCanSpecialSummonMonster(tp, id + 1, 0, TYPES_TOKEN_MONSTER, 1000, 1000, 3, RACE_PYRO, ATTRIBUTE_FIRE, POS_FACEUP_ATTACK)
	end
	local dg1 = Duel.GetMatchingGroup(s.filter1, tp, LOCATION_SZONE, 0, nil)
	local dg2 = Duel.GetMatchingGroup(aux.TRUE, tp, LOCATION_MZONE, LOCATION_MZONE, nil)
	dg1:Merge(dg2)
	Duel.SetOperationInfo(0, CATEGORY_DESTROY, dg1, dg1:GetCount(), 0, 0)
	Duel.SetOperationInfo(0, CATEGORY_TOKEN, nil, 1, 0, 0)
	Duel.SetOperationInfo(0, CATEGORY_SPECIAL_SUMMON, nil, 1, 0, 0)
end
function s.activate(e, tp, eg, ep, ev, re, r, rp)
	local dg1 = Duel.GetMatchingGroup(s.filter1, tp, LOCATION_SZONE, 0, nil)
	if Duel.Destroy(dg1, REASON_EFFECT) > 0 then
		local dg2 = Duel.GetMatchingGroup(aux.TRUE, tp, LOCATION_MZONE, LOCATION_MZONE, nil)
		if Duel.Destroy(dg2, REASON_EFFECT) > 0 and Duel.IsPlayerCanSpecialSummonMonster(tp, id + 1, 0, TYPES_TOKEN_MONSTER, 1000, 1000, 3, RACE_PYRO, ATTRIBUTE_FIRE, POS_FACEUP_ATTACK) then
			Duel.BreakEffect()
			local token = Duel.CreateToken(tp, id + 1)
			Duel.SpecialSummon(token, 0, tp, tp, false, false, POS_FACEUP_ATTACK)
		end
	end
end


Wild
Pay 500 LP; destroy all "Blaze Accelerator" cards you control, and if you do, destroy as many monsters on the field as possible, then, Special Summon 1 "Wild Fire Token" (Pyro/FIRE/Level 3/ATK 1000/DEF 1000) in Attack Position. Your monsters cannot attack the turn you activate this card.
-- Wild
local CARD_ID_0 = 68815402 --Wild Fire Token
local SETCARD_ID_0 = 0xb9 --Blaze
local s, id, o = GetID()
function s.initial_effect(c)
	--Activate
	local e1 = Effect.CreateEffect(c)
	e1:SetCategory(CATEGORY_DESTROY + CATEGORY_SPECIAL_SUMMON + CATEGORY_TOKEN)
	e1:SetType(EFFECT_TYPE_ACTIVATE)
	e1:SetCode(EVENT_FREE_CHAIN)
	e1:SetHintTiming(0, TIMINGS_CHECK_MONSTER)
	e1:SetCost(s.cost)
	e1:SetTarget(s.target)
	e1:SetOperation(s.activate)
	c:RegisterEffect(e1)
end
function s.cost(e, tp, eg, ep, ev, re, r, rp, chk)
	if chk == 0 then
		return Duel.CheckLPCost(tp, 500) and Duel.GetActivityCount(tp, ACTIVITY_ATTACK) == 0
	end
	Duel.PayLPCost(tp, 500)
	local e1 = Effect.CreateEffect(e:GetHandler())
	e1:SetType(EFFECT_TYPE_FIELD)
	e1:SetCode(EFFECT_CANNOT_ATTACK)
	e1:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE + EFFECT_FLAG_OATH)
	e1:SetTargetRange(LOCATION_MZONE, 0)
	e1:SetReset(RESET_PHASE + PHASE_END)
	Duel.RegisterEffect(e1, tp)
end
function s.filter1(c)
	return c:IsFaceup() and c:IsSetCard(SETCARD_ID_0)
end
function s.target(e, tp, eg, ep, ev, re, r, rp, chk)
	if chk == 0 then
		return Duel.IsExistingMatchingCard(s.filter1, tp, LOCATION_SZONE, 0, 1, nil)
			and Duel.IsExistingMatchingCard(aux.TRUE, tp, LOCATION_MZONE, LOCATION_MZONE, 1, nil)
			and Duel.IsPlayerCanSpecialSummonMonster(tp, id + 1, 0, TYPES_TOKEN_MONSTER, 1000, 1000, 3, RACE_PYRO, ATTRIBUTE_FIRE, POS_FACEUP_ATTACK)
	end
	local dg1 = Duel.GetMatchingGroup(s.filter1, tp, LOCATION_SZONE, 0, nil)
	local dg2 = Duel.GetMatchingGroup(aux.TRUE, tp, LOCATION_MZONE, LOCATION_MZONE, nil)
	dg1:Merge(dg2)
	Duel.SetOperationInfo(0, CATEGORY_DESTROY, dg1, dg1:GetCount(), 0, 0)
	Duel.SetOperationInfo(0, CATEGORY_TOKEN, nil, 1, 0, 0)
	Duel.SetOperationInfo(0, CATEGORY_SPECIAL_SUMMON, nil, 1, 0, 0)
end
function s.activate(e, tp, eg, ep, ev, re, r, rp)
	local dg1 = Duel.GetMatchingGroup(s.filter1, tp, LOCATION_SZONE, 0, nil)
	if Duel.Destroy(dg1, REASON_EFFECT) > 0 then
		local dg2 = Duel.GetMatchingGroup(aux.TRUE, tp, LOCATION_MZONE, LOCATION_MZONE, nil)
		if Duel.Destroy(dg2, REASON_EFFECT) > 0 and Duel.IsPlayerCanSpecialSummonMonster(tp, id + 1, 0, TYPES_TOKEN_MONSTER, 1000, 1000, 3, RACE_PYRO, ATTRIBUTE_FIRE, POS_FACEUP_ATTACK) then
			Duel.BreakEffect()
			local token = Duel.CreateToken(tp, id + 1)
			Duel.SpecialSummon(token, 0, tp, tp, false, false, POS_FACEUP_ATTACK)
		end
	end
end

