The target’s body is transformed into awith a Challenge Rating equal to or less than its own. If the target doesn’t have a Challenge Rating, use its level.
Until the spell ends or it is dropped to 0 hit points, the target’s game statistics (including its hit points and mental ability scores) are replaced by the statistics of the chosen beast. The target is limited to actions that it is physically capable of doing, and it can’t speak or cast spells. The target’s gear melds into the new form. Equipment that merges with a target’s form has no effect until it leaves the form.
When the target reverts to its normal form, it returns to the number of hit points it had before it transformed. If the spell’s effects on the target end early from dropping to 0 hit points, any excess damage carries over to its normal form and knocks itif the damage reduces it to 0 hit points.