Nimble Escape. The goblin can take the Disengage or Hide action as a bonus action on each of its turns.
Spellcasting. The goblin is a 5th-level spellcaster. Its spellcasting ability is Charisma (spell save DC 13, +4 to hit with spell attacks). It has the following sorcerer spells prepared:
Cantrips (at will): fire bolt, mage hand, prestidigitation
1st level (4 slots): shield, magic missile
2nd level (3 slots): scorching ray
3rd level (2 slots): fireball, fly
Sorcery Points. The kobold has 3 sorcery points. It can spend 1 or more sorcery points as a bonus action to gain one of the following benefits:
Twinned Spell: When it casts a spell that targets only one creature and doesn’t have a range of self, you can spend a number of sorcery points equal to the spell’s level to target a second creature in range with the same spell (1 sorcery point if the spell is a cantrip).
Empowered Spell: When it rolls damage for a spell, it can spend 1 sorcery point to reroll a number of the damage dice up to its Charisma modifier (minimum of one). You must use the new rolls.
You can use Empowered Spell even if you have already used a different Metamagic option during the casting of the spell.
Wild Magic Surge. Each time the goblin casts a spell, there is an accompanying surge of wild magic; roll on the Wild Magic Surge Table to determine the wild magic effect.
Multiattack. The goblin makes two attacks with its scimitar. The second attack has disadvantage.
Scimitar. Melee Weapon Attack: +4 to hit, reach 5 ft., one target. Hit: 5 (1d6 + 2) slashing damage.
Redirect Attack. When a creature the goblin can see targets it with an attack, the goblin chooses another goblin within 5 feet of it. The two goblins swap places, and the chosen goblin becomes the target instead.