This script allows you to create “skill links” which are basically a way to connect skill effects together.
Skill links are purely a development concept: they are created to allow you to specify multiple behavior that should occur when a single skill is used. In particular, it allows a single skill to execute effects under different scopes.
For example, suppose you wanted to create a skill that damages the enemies, but also heals all allies as a secondary effect. By default, there is no easy way to accomplish this without resorting to common events or complex formulas, and even that may have its own limitations.
However, there are few things that you CAN do.
It is easy to create a skill that will damage all enemies
It is also easy to create a skill that will heal all allies.
This script introduces the link between the two skills: you simply specify the healing skill as a “linked skill” to the damaging skill, and now whenever you execute the damaging skill, the healing skill will automatically run as well.
Script: download here
RDeus: Conditional Links – adds conditions to each linked skill
In the script editor, place this script below Materials and above Main
Both Items or Skill can be linked to any item or skill. To create a skill link, note-tag an item or skill with
<link skill: ID>
Where ID is the ID of the skill you want to link. When you use the skill, the linked skill will also be executed afterwards.
To create item links, note-tag an item with
<link item: ID>
Where ID is the ID of the item you want to link.
You can add multiple links using multiple note-tags.
You can create conditions on your linked skills or items. They will only be executed if the condition is met. Every link has its own condition.
To create a link condition, use the note-tag
<link condition: LINK_ID> FORMULA </link condition>
The link ID is the ID of the link object that you created above. The order they appear in your note is the ID they have. The first link object will be ID 1, the second will be ID 2 and so on.
The formula can be any valid ruby formula that returns true or false. The following variables are available
a - action user b - action target p - game party t - game troop s - game switches v - game variables