If your game has Chronurgy or Chronomancy as a school of magic, then this spell is in that school rather than Enchantment.
You attempt to create a time loop on a creature's mind within range. The creature repeats this round's action indefinitely. If the creature attacked, it attacks the same person again. If it drank a potion, it drinks from the same bottle again. Even if something happens to prevent this attempt (the opponent is dead, or someone takes the bottle away, for example), the subject still strives to repeat its last action.
The creature may make a Wisdom saving throw at the end of every round it is under the effects of this spell. On a success, they break free of this spell's effects. Starting with the second saving throw, the creature gains a cumulative +1 bonus every turn.
Comments