Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Skill Casting Delay
#1
Skill Casting Delay
Version: 1.7


Introduction
This script is designed to make spells/skills in the default battlesystem take time to cast/prepare. As a turn-based system, the duration for the delay is ALSO given in turns. It's very simple... if you want a fireball spell to take two turns to work after casting, you set the skill up in the config section to spend 2 turns.

Features
  • Make a skill take an additional turn... two turns... 5 turns to cast!
  • Can show 'GUY casting FIREBALL" or like messages while waiting.
  • Heroes can display 'battle animations' while waiting for their spells.
  • Enemies can cancel spell casting on a successful hit.
  • Option to have fellow ally skills and items interrupt the casters.
  • Configurables editable from map events (and recorded in the savegame file)

Screenshots
Didn't make any

Demo
Nope, but it's pretty simple to use.

Script
The Script

Instructions
Pretty plug and play, and should be fairly compatible. Only one section of the code was NOT aliased... Scene_Battle's def phase3_next_actor, but I don't think many people mess with that one.

Most of the instructions have been included in the script, as is my way. One of the nice features is that you have a single hash that relates a skill (by NAME... Not by ID!) to the number of turns it takes to use, AND any special text like 'casting' or 'preparing' that is used in the script's Casting Message system.

Words of warning...
If a member in your party is casting a spell, and another HEALS the caster... the caster WILL be interrupted. Same goes for healing through items. ANYTHING can interrupt the caster.
The configuration section uses ($)Global values. This means that you can change them through script calls. But, if you attempt to change one of the boolean global values (true/false), the project may freeze as this is a little-known glitch with the RGSS system itself.

FAQ
Just spent a couple hours making the initial system... and 10 minutes to adapt Animated Battlers to detect and use this system. As far as the togglable interrupt features... don't ask. :-/ Dam RMXP and it's inherit hatred of true/false booleans... The actual interrupt decision mechanism for Items and Skills had to be its own separate def call.

Compatibility
This was meant soley for default battlesystems, but due to heavy aliasing (with one exception), it is probably compliant with SDK 1.5. But... not with version 2.0+ as the newest SDK Masterscripts have altered the battlesystem itself by now. Guess we can call that the SDK battlesystem, eh?

Additional Battlesystem Compatability Hints
For Fomar0153's Action Cost System by G-Man

Credits and Thanks
Thanks go to nellshini for requesting it. And to Kaze950 for discovering a bug that needed fixing... brother... did it need fixing... (got aspirin?)... and for betatesting version 1.5 before releasing it.

Terms and Conditions
This system is available royalty-free, and is permitted for commercial use. However, no warranty on this system is expressed or implied.

What is required as conditions for use is due credit. I gotta get listed for this script somewhere... at least in the game's end credits. Also credit must be given to nellshini for the initial design, and to Kaze950 for extensive betatesting.

[Image: xp_warning.png]
Image has link to Enterbrain's Download Page
Reply }
#2
After a good decade......
B U M P !
to version 1.7

Not much to see here, but it's been cleaned up a bit.   At the same time, it should be more compatible with some scripts including one in the works.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
[Image: QrnbKlx.jpg]

Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   Fast Skill Grouping DerVVulfman 2 2,036 06-16-2021, 02:47 AM
Last Post: DerVVulfman
   DoubleX RMMV Skill Hotkeys DoubleX 2 3,678 02-13-2021, 04:59 AM
Last Post: DoubleX
   DoubleX RMMZ Skill Item Cooldown DoubleX 4 3,199 02-07-2021, 04:11 PM
Last Post: DoubleX
   DoubleX RMMZ Skill Item Triggers DoubleX 3 2,862 12-26-2020, 04:00 PM
Last Post: DoubleX
   MicKo's Skill Tree - Revised DerVVulfman 49 41,018 12-17-2019, 04:13 AM
Last Post: DerVVulfman
   DoubleX RMMV Skill Hotkeys Compatibility DoubleX 0 1,874 09-06-2019, 09:56 AM
Last Post: DoubleX
   MicKo's Skill Tree DerVVulfman 48 69,589 11-08-2016, 08:04 PM
Last Post: DerVVulfman
   DoubleX RMMV Popularized ATB Delay DoubleX 0 3,080 02-09-2016, 02:16 PM
Last Post: DoubleX
   DoubleX RMVXA Basic ATB Delay DoubleX 0 2,526 08-09-2015, 04:26 AM
Last Post: DoubleX
   Skill Success Fix Taylor 0 3,726 03-23-2015, 12:15 PM
Last Post: Taylor



Users browsing this thread: