Sorcerous Origin

Blue Mage

Your innate magic comes from absorbing the magical energies of spells themselves. Blue mages are exceptionally rare, whether because they never interacted with magic to realize what they were in the first place, or due to them overestimating their abilities and falling to some hostile creature's spells. While some scholarly types hypothesize blue magic is genetic in nature, the free willed personalities of most sorcerers that doesn't lend itself to being studied easily leaves this a questionable claim at best.

Azure Lore

Through your understanding of the arcane itself, learning spells becomes rather different for you than other sorcerers. Beginning at 1st level, you have a number of maximum spells known, based on the table below. You learn spells at 1st level and beyond as normal for sorcerers, but also have the ability to learn more through other Blue Magic features detailed later.

Maximum Spells Known
Sorcerer Level Maximum Spells Known
1st 4
2nd 5
3rd 6
4th 7
5th 8
6th 12
7th 13
8th 14
9th 15
10th 16
11th 17
12th 18
13th 19
14th 20
15th 21
16th 22
17th 25
18th 25
19th 25
20th 25

Absorption

Starting when you choose this origin at 1st level, you gain the ability to learn spells cast upon you. Immediately after a spell is cast that targets you or you are included in a spell's area of effect, you may use your reaction to attempt to learn that spell. To do so, you make a Charisma saving throw. If you meet or exceed your own spell save DC, you may choose to add that spell to your list of spells known.

This ability may allow you to learn spells not on the Sorcerer spell list, but you may not learn any spells of a higher spell level than you can already cast (A 3rd level spell cast as a 5th level spell would be considered a 3rd level spell when attempting to learn it, for example). The spell must actually affect you for you to attempt to learn it. If you succeed on a spell save and suffer no effects or are missed by a spell attack that targets you, you cannot learn that spell.

Spellsight

Starting at 6th level, you gain the ability to see the threads of magic itself. As a bonus action on your turn, you may spend 1 sorcery point to activate this ability. You are treated as though under the effects of a Detect Magic spell that has a detection range of 90 feet rather than 30, and the amount of material needed to block the effect is tripled. This effect is not a spell and does not require concentration. It lasts until you dismiss it as a bonus action.

While you are using this ability, you may use a bonus action and spend 1 sorcery point to focus your magical sight upon a creature. When you do so, you learn all of that creature's Immunities, Resistances, and Weaknesses.

Finally, you may also now attempt to learn a spell that is affecting an area or object, such as a Web spell across a corridor or a Magic Weapon spell cast upon a sword. To do so you must be within 5 feet of the spell's area or the object under the spell, then roll for your Absorption feature as normal, using your action rather than a reaction. You cannot attempt to learn from the same object or specific spell in an area more than once per long rest.

Greater Absorption

At 14th level, you may now attempt to learn spells you perceive, not just those that affect you. When a creature you can see casts a spell, you may use your reaction to attempt to learn it as if through your Absorption feature. In addition, you may also attempt to use Absorption on spells whose effects you successfully save from, or spell attacks that miss you as long as you were included in the attack as a target. However, learning magic in either of these ways is difficult- you have disadvantage on the roll when using this feature.

Additionally, you now have advantage on saving throws against spells and other magical effects.

Primordial Mastery

Beginning at 18th level, magic and its mysteries are fully understood to you. You may now attempt to use the Absorption or Greater Absorption features even when you are at the limit of your maximum spells known. If you succeed, that spell takes the place of one of your currently known spells. You also now gain advantage when using your Absorption ability (used normally or upon an area or object per Spellsight), and no longer suffer from disadvantage on your Greater Absorption ability rolls.

As a result of your pursuit, your very soul has now acclimated to the energy of magic itself. You now have resistance to all magical damage. Magical weapons, including natural ones, ignore this effect.