Maharaja
CREATURE 20The most powerful of all rakshasas, maharajas form very rarely, never more than once or twice a century, and only from the reincarnated spirits of other powerful and wicked rakshasas. The birth of a new maharaja rakshasa is a momentous occasion, and less powerful rakshasas will seek to curry favor with the new maharaja at an early age. Each maharaja rakshasa is unique and boasts their own selection of spells. All are generally humanoid save for their many heads, which always number at least four and can range up to a dozen. One of these heads tends to be humanoid, while the others take the forms of cats, snakes, and other predatory animals.
Rakshasas are evil spirits who cloak themselves in the guises of humanoid creatures, that they might walk unseen among their prey. They often seek to shape and corrupt society from within.
A constant spell affects the monster without the monster needing to cast it, and its duration is unlimited. If a constant spell gets counteracted, the monster can reactivate it by spending the normal spellcasting actions the spell requires.
This monster can see in all directions simultaneously and therefore can't be flanked.
On a success, the maharaja turns the spell back on its caster. The reflected spell affects only the caster, even if it's an area spell or would normally affect more than one creature. The original caster can attempt a save and use other defenses against the reflected spell as normal.
The maharaja takes on the appearance of any Medium humanoid. This doesn't change their Speed or their attack and damage modifiers with their Strikes but might change the damage type their Strikes deal (typically to bludgeoning). They lose their fangs Strike unless the humanoid form has fangs or a similar unarmed attack, and they lose Four-Fanged Assault unless the new form has four or more heads and fangs.
The monster changes its shape indefinitely. It can use this action again to return to its natural shape or adopt a new shape. Unless otherwise noted, a monster cannot use Change Shape to appear as a specific individual. Using Change Shape counts as creating a disguise for the Impersonate use of Deception. The monster's transformation automatically defeats Perception DCs to determine whether the creature is a member of the ancestry or creature type into which it transformed, and it gains a +4 status bonus to its Deception DC to prevent others from seeing through its disguise. Change Shape abilities specify what shapes the monster can adopt. The monster doesn't gain any special abilities of the new shape, only its physical form. For example, in each shape, it replaces its normal Speeds and Strikes, and might potentially change its senses or size. Any changes are listed in its stat block.
The maharaja makes four fangs Strikes, each against a different target. These Strikes count as only one attack for the maharaja's multiple attack penalty, and the penalty doesn't increase until after they have made all four attacks.