b'Maharaja Rakshasa \n'b'  Family:   Rakshasa  \n'b'  Medium   fiend ,  lawful evil  \n'b'  Armor Class  24 (natural armor)  Hit Points  310 (23d8 + 207)  Speed  40 ft., fly 30 ft.\n'b' STATS STR: 26 (+8) DEX:  27 (+8)  CON:  29 (+9)  INT:  24 (+7)  WIS:  21 (+5)  CHA:  28 (+9)  \n'b'\n'b'\n'b'\n'b'\n'b'\n'b'\n'b'  Saving Throws   Dexterity  +15,  Constitution  +16,  Wisdom  +12,  Charisma  +16  Skills   Arcana  +14,  Deception  +16,  Insight  +12,  Perception  +12,  Persuasion  +16,  Stealth  +15  Damage Resistances  cold; bludgeoning and slashing from nonmagical weapons  Damage Immunities  poison; piercing from nonmagical attacks  Condition Immunities   frightened ,  poisoned   Senses   darkvision  60 ft., passive  Perception  22  Languages  all  Challenge  22 (41,000 XP) \n'b' Special Traits \n'b'\n'b'  Be Quick or Be Dead . The maharaja rakshasa has advantage on  initiative  rolls. \n'b'  Limited Magic Immunity . The maharaja rakshasa can\xe2\x80\x99t be affected or detected by spells of 6th level or lower unless it wishes to be. It has advantage on saving throws against all other spells and magical effects. \n'b'  Polyglot . The maharaja rakshasa is fluent in all languages. \n'b'  Innate Spellcasting . The maharaja rakshasa\xe2\x80\x99s innate spellcasting ability is  Charisma  (spell save DC 24, +16 to hit with spell attacks). The rakshasa can innately cast the following spells, requiring no material components:\n'b'\n'b'\n'b'  At will :  detect thoughts ,  clairvoyance  \n'b'  3/day :  charm person  \n'b'  1/day :  plane shift  \n'b'\n'b'  Spellcasting . The maharaja rakshasa is an 18th-level spellcaster. Its spellcasting ability is  Charisma  (spell save DC 24, +16 to hit with spell attacks). It can cast the following spells:\n'b'\n'b'\n'b'  Cantrips (at will) :  dancing lights ,  mage hand ,  minor illusion ,  resistance ,  shocking grasp  \n'b'  1st level (4 slots) :  color spray ,  detect magic ,  fog cloud ,  magic missile  \n'b'  2nd level (3 slots) :  darkness ,  hold person ,  see invisibility ,  spider climb  \n'b'  3rd level (3 slots) :  bestow curse ,  dispel magic ,  nondetection ,  vampiric touch  \n'b'  4th level (3 slots) :  confusion ,  dimension door ,  greater invisibility ,  phantasmal killer  \n'b'  5th level (3 slots) :  dominate person ,  mislead ,  modify memory ,  scrying  \n'b'  6th level (1 slot) :  irresistible dance ,  mass suggestion ,  programmed illusion  \n'b'  7th level (1 slot) : prismatic spray,  project image ,  teleport  \n'b'  8th level (1 slot) :  feeblemind ,  mind blank  \n'b'  9th level (1 slot) :  prismatic wall ,  weird  \n'b'\n'b' Actions \n'b'\n'b'  Multiattack . The rakshasa makes four bite attacks and one greatsword  attack . \n'b'  Greatsword .  Melee Weapon Attack : +15 to hit, reach 5 ft., one target.  Hit : 15 (2d6 + 8) slashing damage. \n'b'  Bite .  Melee Weapon Attack : +15 to hit, reach 5 ft., one target.  Hit : 17 (2d8 + 8) piercing damage.'