Attack that adds buff/state to the user?

Protagonist7

Veteran
Veteran
Joined
Sep 14, 2015
Messages
85
Reaction score
9
First Language
English
Primarily Uses
So, in my game I'd like there to be a skill which damages an enemy and also gives the user a buff or a state. Namely, a slide attack which damages one enemy and also gives the user a small agility boost.

Are there any plugins that would allow me to put something like that in my game? Or anyone willing to make one?
 
Last edited by a moderator:

Astfgl66

Veteran
Veteran
Joined
Jan 5, 2016
Messages
722
Reaction score
578
First Language
French
Primarily Uses
You don't need a plugin to do it. In the damage formula box, you can use some commands to do that.


For example, paste


a.addState(5);a.atk * 4 - b.def * 2


In your attack skill box and you'll see that everytime someone uses attack, they'll gain the blind state (state n*5). I don't know the command for buffs, but I suspect there is one too.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,051
Messages
1,018,549
Members
137,836
Latest member
T62352536256t362
Top