Grathnode Install
Version: 1.11
Author: Kread-EXIntroductionThis script is inspired from the Ar Tonelico series. In a nutshell, it allows the player to assign special items called Grathnode crystals to skills in order to add special effects.
For an in-depth explanation, you will create items with certain properties. They can cause damage, possess traits, etc... When one of those items is put inside a skill, the skill will take all its properties, be it additional damage with a different formula, or status effects, debuffs... The "upgrades" made that way are actor-dependent, meaning that several actors with the same skill won't necessarily share the same Grathnodes set.
InstructionsThere are several steps to follow in order to use this script.
Create the grathnode items. It is a regular item, which can cause damage/recovery, have certain traits and so on... All of those abilities will be transferred to the skill. Therefore, for balancing issues, really powerful Grathnodes with a lot of effects should be scarce in-game because for all those effects only one slot will be used.
There are several tags that can be written in the item's notebox:
CODE
<grathnode>
Mandatory tag used to identify an item as a Grathnode crystal.
CODE
<scope: string>
This tag allows you to determine on which kind of skill an effect can be applied or not. "string" can be any of those:
CODE
for_opponent?
for_friend?
for_dead_friend?
for_user?
for_all?
Basically, the item scope must match the skill scope. If you omit this tag, the Grathnode can be used on any skill; you could potentially put damaging effects on healing spells for instance.
CODE
<mp_inflation: x>
<tp_inflation: x>
The MP and/or TP cost of the skill will raise per x% if this item is assigned.
Limit the slots on the skills. By default, a skill can take 5 items at maximum. However, you can balance things out by limiting the number of slots either individually or globally. Global setting can be accessed within the script: you need to change the value for ABSOLUTE_MAX_GRATHNODES to whatever you fancy. Note that this script's visual interface is not designed for more than 5 slots.
Individual settings are made in the skill's notebox, with this tag;
CODE
<max_grathnodes: x>
x should be below ABSOLUTE_MAX_GRATHNODES and will actually be ignored if superior.
Call the scene.
SceneManager.call(Scene_Grathnode) is the way to go; however, this is an actor related scene, just like Skill or Equip. Therefore, it is strongly recommended to use a menu manager to put the option directly in the main menu. I prepared beforehand the required methods to use with Yanfly's Ace Menu Engine so you would be well inspired to use it. All you have to do is add this line in the CUSTOM_COMMANDS hash:
CODE
:grath => [ "Install", 0, 0, :command_install],
Needless to say, you can rename "Install" to whatever you want, and you're free to add switch conditions too. Refer to the script for more details.
Once it's done, just add :grath to the COMMAND hash.
Screenshots
ScriptDownloadCompatibilityWorks with most of Yanfly's scripts, as we both try to maintain compatibility with each other.
Terms and ConditionsYou are free to adapt this work to suit your needs.
You can use this work for commercial purposes if you like it.
Credit is appreciated.
Special ThanksThe sheer volume of bugs this script contained (and it might contain more) has been fixed thanks to Yanfly, Adalwulf, renegat92, killer690, Cassy and etanal. They did report quite a lot on my blog.