Download

Installation

In the script editor, place this script below Materials and above Main

Usage

Note-tag skills or items with

<pre-skill effect: ID>

Where the ID is the effect the ID of the effect.

You can figure out what the ID of the effect is by counting their position in the list from top to bottom. The effect at the top has ID 1, the one under it has ID 2, and so on.

Examples

To have effect 2 run before the skill is executed, note-tag it with

<pre skill effect: 2>

Notes

By default, the engine does not support multiple common events in a single skill. You can use the Common Event Queue script or any other script that allows you to run multiple common events to overcome this limitation.

Hey Hime. First of all, thanks for making this script! There’s a lot of really neat things that can be done with it. However, after playtesting my game, I noticed that battle events that used the Force Action command were not working anymore (If a Force Action was called, it would simply freeze the game). I tried checking my scripts and it seems that if I put this script above Yanfly’s Ace Battle Engine script, then Force Actions would work again, but the Pre-Skill Effects script would stop working (The common event doesn’t get called). This probably falls under the category of a compatibility issue and I know you said that you wouldn’t do any compatibility patches, but it would help me a lot if you could help clarify the issue for me and I can try to work around it. Thanks!

To create code blocks or other preformatted text, indent by four spaces:

This will be displayed in a monospaced font. The first four
spaces will be stripped off, but all other whitespace
will be preserved.
Markdown is turned off in code blocks:
[This is not a link](http://example.com)