Wicked Resurrection**

3rd-level necromancy

This spell allows you to touch a recently deceased creature that have been dead for no longer than 1 minute and return its soul to its body, restoring it to life with 0 HP, the target becomes conscious and needs to make a Death save each turn, while in 0 HP.

Do not count success or fails for saving throw, instead each fail or instant death the target receives a random curse. Rolling 1 or 20 has no extra effects beyond success of fail.

d20Curse
1-10For the next week, target has cumulative -1 on an ability score (Roll 1d6: Str, Dex, Con, Int, Wis, Cha)
11-19For the next week, target has disadvantage on attacks, checks, and saves for a specific ability (Roll 1d6: Str, Dex, Con, Int, Wis, Cha)
20You have been permanently cursed with a major curse. Roll again on this table and a random effect from Major Curses
d20Major Curse
1-10Curse of Eternal Fatigue: Target needs 16 hours for long rest, 4 hours for short rest.
11-15Curse of Stone: Target’s skin turns to stone, speed halved, disadvantage on Dexterity checks and saves.
16-20Curse of Chaotic Magic: 50% chance spell fails, random effect from Wild Magic Surge table occurs instead.

One use of Remove Curse can remove any amount of temporary curses, one use of Greater Restoration can remove any amount of permanent curses.

When the spell ends, if the target still has 0 hit points his soul is dragged to the shadow fell, where is locked and imprisoned, only a Wish or True Resurrection return it.