Greater Polymorph (5e Spell)
From D&D Wiki
|Casting time:||1 action|
|Components:||V, S, M (a caterpillar cocoon and a sapphire worth at least 100 gp)|
|Duration:||Concentration, up to 1 hour|
This spell transforms a creature that you can see within range into a new form. An unwilling creature must make a Wisdom saving throw to avoid the effect. The spell has no effect on a shapechanger or a creature with 0 hit points.
The transformation lasts for the duration, or until the target drops to 0 hit points or dies. The new form can be any beast, giant, ooze, or plant whose challenge rating is equal to or less than the target's (or the target's level, if it doesn't have a challenge rating). The target's game statistics, including mental ability scores, are replaced by the statistics of the chosen beast. It retains its alignment and personality.
The target assumes the hit points of its new form. When it reverts to its normal form, the creature returns to the number of hit points it had before it transformed. If it reverts as a result of dropping to 0 hit points, any excess damage carries over to its normal form. As long as the excess damage doesn't reduce the creature's normal form to 0 hit points, it isn't knocked unconscious.
The creature is limited in the actions it can perform by the nature of its new form, and it can't speak, cast spells, or take any other action that requires hands or speech unless the new form is also capable of doing so. You do not learn any new languages by using this spell, instead you retain the languages you knew before transforming.
If the new form doesn't wield equipment then the target's gear melds into its new form. The creature can't activate, use, wield, or otherwise benefit from any of its equipment. If the new form is one that would normally wield some form of equipment then the target's current equipment transforms into the creature's standard equipment, as determined by the DM.