Jump to content


Photo

Reverse Time


  • Please log in to reply
5 replies to this topic

#1 Tsukihime

Tsukihime

    Advanced Member

  • Ace Member
  • 7,120 posts
  • LocationToronto
  • RM Skill - Coder

Awards Bar:

Users Awards

Posted 30 September 2012 - 02:47 PM

Reverse Time
-Tsukihime

This script simulates time reversal during battle.
It basically undo's the results of actions performed in previous turns, so things like

-restoring lost HP from HP damage
-restoring lost MP from MP damage
-removing added states (come back to life)
-removing buffs

This currently does not undo ACTIONS (so you won't get your MP back from skill usage, and you won't unconsume an item), nor does it undo any states, bonuses, and anything else that was applied through events.

Maybe in the future it will be possible to undo more things.

Usage

A single script call

$game_temp.reverse_time(n)
For some integer n that is the number of turns you want to reverse.

Download

Script: Download here
Required: Action History

Notes

Undoing an action shouldn't be too hard, since I have a reference to the action being used. However there are some complications when a single action attacks multiple targets.

Edited by Tsukihime, 05 May 2016 - 12:10 PM.

All of my work can be found on my website:

banner200x40.png

You can follow me on any of these platforms:

logo_facebook40x40.pnglogo_twitter40x40.pnglogo_youtube40x40.pnglogo_patreon40x40.pnglogo_instagram40x40.png

Go here for Bugs and Requests.
 
Want to become a beta tester for my plugins before they are released to the public?

#2 Tammsyn

Tammsyn

    Advanced Member

  • Ace Member
  • 173 posts

Posted 30 September 2012 - 05:23 PM

so bit like sands of time from price of pursa then? sounds intresting

#3 amerk

amerk

    Advanced Member

  • Ace Member
  • 3,500 posts
  • RM Skill - Writer

Awards Bar:

Users Awards

Posted 12 October 2012 - 03:16 PM

Awesome! This would make for a great spell that can be used in battle.

After all to the well organized mind, death is but the next great adventure.

letter_log_harry_potter_envelope.png


#4 Novem

Novem

    Author

  • + Sponsor
  • 2,679 posts
  • LocationTonawanda, New York
  • RM Skill - Writer

Posted 12 October 2012 - 03:31 PM

That's pretty awesome there Tsukihime.
Hey there. I'm Novem, author and a long time veteran of this community (previous known under names such as Nine or Obrusnine). 
 
If you're interested in my books, you can find them on amazon in the links in this spoiler.
 

 
Quotes:
Spoiler


uUftBOz.png

#5 Crash

Crash

    Member

  • Ace Member
  • 11 posts

Posted 01 December 2012 - 04:17 PM

Nope, never mind. Great work with this!

Edited by Crash, 01 December 2012 - 05:03 PM.


#6 oriceles

oriceles

    Professional Lurker

  • Ace Member
  • 80 posts
  • LocationValencia, VE
  • RM Skill - Writer

Posted 04 March 2013 - 08:42 PM

If this gets to undo more stuff then it will work perfect with the retry battle from Game Over with choices by regendo!






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users