Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Skill Learning
#1
Skill Learning
Ver 1.00
Originally posted at http://members.jcom.home.ne.jp/cogwheel/

Introduction
This is an add-on feature for the RTAB battle system so when a hero is attacked and hit with a "certain" skill or spell, that character can learn that skill (or a skill tagged to it).



Screenshots
- Didn't make any -

Demo
CLICK HERE (V 1.16)


Script
In truth, the name was... paraphrased from the original Japanese version. Syntax differences and so on. So, I went with the closest definition.
Skill Learning (Japanese Version)
Skill Learning (English Translation)


Instructions
Just copy/paste this code right under the HP/SP/EXP Gauge Script v1.00 (yep, I translated it) which is the last script in Minkoff's adaption of Cogwheel's RTAB system.

When a certain class of character is attacked by a certain skill, it has the ability to learn that same skill. Only a successful skill attack can be learned and misses will not.

Also, it is possible to learn "other" skills instead of the same skill.

Let's look at a section of this code (line 19-22):

Code:
when "Fighter"
      case $data_skills[skill_id].name
      when "Feint Attack"
        effect = learn_skill(actor, skill_id)

According to this, when a character of the "Fighter" class is attacked, and is hit with the "Feint Attack" skill, this character will be able to learn the same "Feint Attack skill.

But, if the lines of code looked like this:

Code:
when "Fighter"
      case $data_skills[skill_id].name
      when "Feint Attack"
        effect = learn_skill(actor, 2)

Then, when this character is hit with the "Feint Attack" skill, he will learn the "Greater Heal" spell which is skill_id #2.

Finally, when a skill is learned during battle, the text "Learning!" will pop-up over the character.


Compatibility
This script IS pretty basic and has been in use quite a while... and still works with the newest versions of RTAB... probably even v 1.13 (though I haven't used THAT one yet.)

Credits and Thanks
Gotta thank the creator of RTAB for such a wonderful and adaptable battle system.

Author's Notes
Ain't the author... no notes here.

Terms and Conditions
Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   Skill Item Kost ACE kyonides 0 350 01-03-2024, 12:07 AM
Last Post: kyonides
   Skill Roulette kyonides 0 588 06-16-2023, 07:10 AM
Last Post: kyonides
   Fast Skill Grouping DerVVulfman 3 3,831 06-12-2023, 05:28 PM
Last Post: DerVVulfman
   DoubleX RMMV Skill Hotkeys DoubleX 2 5,176 02-13-2021, 04:59 AM
Last Post: DoubleX
   DoubleX RMMZ Skill Item Cooldown DoubleX 4 5,100 02-07-2021, 04:11 PM
Last Post: DoubleX
   DoubleX RMMZ Skill Item Triggers DoubleX 3 4,650 12-26-2020, 04:00 PM
Last Post: DoubleX
   MicKo's Skill Tree - Revised DerVVulfman 49 54,911 12-17-2019, 04:13 AM
Last Post: DerVVulfman
   DoubleX RMMV Skill Hotkeys Compatibility DoubleX 0 2,797 09-06-2019, 09:56 AM
Last Post: DoubleX
   Skill Casting Delay DerVVulfman 1 10,369 11-20-2018, 05:38 AM
Last Post: DerVVulfman
   MicKo's Skill Tree DerVVulfman 48 83,598 11-08-2016, 08:04 PM
Last Post: DerVVulfman



Users browsing this thread: