Save-Point
Passive Skills - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Archives (https://www.save-point.org/forum-105.html)
+--- Forum: Creation Asylum Archives (https://www.save-point.org/forum-90.html)
+---- Forum: Scripts & Code Snippets (https://www.save-point.org/forum-92.html)
+----- Forum: RPG Maker XP Code (https://www.save-point.org/forum-93.html)
+------ Forum: Enhancement/Modification Scripts (https://www.save-point.org/forum-98.html)
+------ Thread: Passive Skills (/thread-6504.html)



Passive Skills - Leon Westbrooke - 06-30-2009

Passive Skills
Leon Westbrooke
Jun 30 2009

This is a locked, single-post thread from Creation Asylum. Archived here to prevent its loss.
No support is given. If you are the owner of the thread, please contact administration.


Purpose:
This script allows passive skills to add to base stats on a percentage basis. So if you want a skill to add 5% to HP, you can do so with this script.

Additional Features
Stat Enhancement skills, Elemental defense skills, Elemental Absorb skills, and State Defense skills.

Instructions
Place this script above main, but below all other default scripts. Then follow the examples in the module, to create more skills that add passive bonuses. Like this example:
Code:
#--------------------------------------------------------------------
  #  Passive_Skills = { skill_id => {'stat' => amount,..},..}
  #  stats:  'hp', 'sp', 'str', 'dex', 'agi', 'int', 'eva', 'atk', 'pdef', 'mdef'
  #--------------------------------------------------------------------
  Passive_Skills = {
    1 => {'hp' => 5},
    2 => {'hp' => 5, 'sp' => 5}
  }


Skill 1 will add 5% to the bearer's base HP. Skill 2 adds 5% to the actors base HP and SP.

Credits
Just.. to Leon_Westbrooke, i guess. lol

code