Skill Learning - Printable Version +- Save-Point (https://www.save-point.org) +-- Forum: Material Development (https://www.save-point.org/forum-8.html) +--- Forum: Scripts Database (https://www.save-point.org/forum-39.html) +---- Forum: RPGMaker XP (RGSS) Engine (https://www.save-point.org/forum-116.html) +---- Thread: Skill Learning (/thread-2595.html) |
Skill Learning - cogwheel - 03-05-2008 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). Based on...
Real Time Active Battle (RTAB) 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" 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" 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 |