This spell is intended to replace all standard resurrection/revival spells, including Reincarnate. It causes character deaths to not be permanent, but cause role-play for the rest of the campaign. Unlike, for example, Critical Role/Matt Mercer's solution to this problem, which makes death possibly permanent and resurrection a major event, this solution causes a resurrected/reincarnated character to have differences for the rest of the campaign. Due to this, you may wish to combine these systems; however, I would recommend failing the saving throw cause a post-resurrection penalty instead of preventing it.

Total Reincarnate

4th-level transmutation (Cleric, Druid)

Casting Time: 1 hour

1 hour Range: Touch

Touch Components: V, S, M (rare oils and unguents worth at least 1,000 gp, which the spell consumes)

V, S, M (rare oils and unguents worth at least 1,000 gp, which the spell consumes) Duration: Instantaneous

You touch a dead humanoid or a piece of a dead humanoid. Provided that the creature has been dead no longer than 5 days per casting level above 3rd, the spell forms a new body for it and then calls the soul to enter that body. If the target's soul isn't free or willing to do so, the spell fails. If this spell is cast at 8th level, the maximum time changes to a century, and at 9th level, the body need not be intact.

The character's new body has many differences from the previous body, but the more skilled the caster of the spell, the less differences there will be. The character's body undergoes 1 major change, 2 minor changes, and gets a new race. The character undergoes less changes for each spell level, undergoing no minor changes at 5th level or above, not rolling on the race table at 6th level or above, and not undergoing a major change at 7th level or above.

The major change and race are rolled from the following tables, or the player can pick their major change. If this is done, then the player must undergo an additional minor change. If the DM allows it, the player can choose to undergo additional major changes, with the same rules as normal (reroll on a conflicting option).

d100 Race 01-04 Dragonborn 05-13 Dwarf, hill 14-21 Dwarf, mountain 22-25 Elf, dark 26-34 Elf, high 35-42 Elf, wood 43-46 Gnome, forest 47-52 Gnome, rock 53-56 Half-elf 57-60 Half-orc 61-68 Halfling, lightfoot 69-76 Halfling, stout 77-96 Human 97-100 Tiefling

d6 Major Change 1 New Strengths. The character rerolls all of their ability scores, using the standard rolling method presented in the Player's Handbook. At the player's choice, they can optionally roll their ability scores in order, not choosing their placement. Beware that this will likely require a new class for the character to be effective, and thus this should only be chosen if the player can guarantee the ability to choose a new class. 2 Imperfect Body. The character undergoes an additional 2 minor changes. 3 Innate Abilities. All levels in a class of the player's choice are swapped for levels in a different class of the player's choice. The DM may prevent the player from using this option if it would disrupt the game. 4 Time Change. The character's age changes to a different age of the player's choice, which must be at least 10 years younger or older. If the player would like to roll for this, then 2d20+15 is recommended (reroll if it does not fall outside the required distance). 5 Fiendish Pact. If this option is rolled for by a character with an alignment other than Chaotic Neutral, Lawful Evil, or Chaotic Evil, reroll. If it is picked, the character's alignment changes to either Chaotic Evil or Lawful Evil, the player's choice. The character makes a pact with a demon or devil, changing their race to a Tiefling. Optionally, if the player and DM both allow it, all of the character's class levels change to a Fiend Warlock. The DM may prevent the player from using this option if it would disrupt the game. 6 Godly Redemption. If this option is rolled for by a character with an alignment other than Lawful Good, the player may choose to reroll instead of undergoing this change. The player redeems themselves by working with a god. The player's alignment becomes Lawful Good if it is not already, and the character's race becomes an Aasimar. Optionally, if the player and DM both allow it, all of the character's class levels change to the player's choice of Paladin or Cleric. The DM may prevent the player from using this option if it would disrupt the game.

Note: these minor changes are based on https://www.reddit.com/r/DnD/comments/7g4et0/169_different_resurrection_side_effects/. The references were in the original table.