User Effects

Help spread the word!Share on FacebookShare on TumblrTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditFlattr the author

userEffects1

This script allows you to convert item/skill effects into “user effects”. By default, when your skill misses, none of the effects are executed.

There are two types of user effects: “Pre User Effects” which occurs before the skill is executed, and “Post User Effects” which occurs after the skill is executed.

Using this, you can specify that certain effects are supposed to be executed when the skill is used regardless whether it actually hit the target or not. The effects themselves are the same as usual; what changes is when they are executed.

Download

Script: download here

Installation

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

Usage

Note-tag skills and items with

<pre user effect: ID>
<post user effect: ID>

Where ID is the effect ID that you want to convert into a user effect.
The first effect on the list has ID 1, the second effect has ID 2, and so on.

userEffects2

If you are using custom effect scripts, note the order that they are added to the list. This should be explained in the documentation for those script.

Example

Suppose you have a skill with two effects: add state poison, recover HP.
To convert the second effect into a post use effect, note-tag your skill with

<post user effect: 2>

Now your skill will always recover HP even if it misses.

Notes

These were originally called “user effects” rather than simply “use effects” so it may be grammatically incorrect.

Help spread the word!Share on FacebookShare on TumblrTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditFlattr the author

You may also like...

8 Responses

  1. Arsist says:

    I just now realized this doesn’t actually make the affects apply to the user. Lol. I thought this script also meant that the given effect will be applied to the user instead of the target. This can also be accomplished with Formula Effects, but not if the target misses… hm…

  2. digger says:

    So if I were to put add state normal attack 10% and mark it as a post effect would it hit the enemy for 10% of normal damage? or myself?

  3. I do not understand. Why putting "2" will recover hp?

Leave a Reply

Your email address will not be published.

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)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax