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 Roulette XP kyonides 0 1,136 06-16-2023, 07:10 AM
Last Post: kyonides
   Fast Skill Grouping DerVVulfman 3 4,825 06-12-2023, 05:28 PM
Last Post: DerVVulfman
   MicKo's Skill Tree - Revised DerVVulfman 49 65,660 12-17-2019, 04:13 AM
Last Post: DerVVulfman
   Skill Casting Delay DerVVulfman 1 10,976 11-20-2018, 05:38 AM
Last Post: DerVVulfman
   MicKo's Skill Tree DerVVulfman 48 91,430 11-08-2016, 08:04 PM
Last Post: DerVVulfman
   Skill Shop Legacy 1 7,722 06-30-2012, 07:36 PM
Last Post: KasperKalamity
   Skill Leveling DerVVulfman 28 43,190 04-07-2012, 09:25 AM
Last Post: Waddle Dee
   FFIX Skills Learning System aka Equipment Skills, NEW!!! v2.3 (8-8-2010) Charlie Fleed 13 29,650 10-13-2010, 05:17 PM
Last Post: Charlie Fleed
   Trickster's Bag Of Skill Effects Trickster 5 15,228 02-23-2010, 06:32 AM
Last Post: fgsfds
   Custom Skill Effects Lowell 0 5,048 03-06-2008, 06:16 AM
Last Post: Lowell



Users browsing this thread: 1 Guest(s)