Making an enemy only able to use a skill if they're debuffed?

Megamatt215

Veteran
Veteran
Joined
Apr 28, 2016
Messages
67
Reaction score
0
First Language
English
Primarily Uses
N/A
I have a weirdly specific issue. I've given some enemies a skill that lets them cancel all debuffs on themself, and some enemies have a skill that lets them cancel all buffs on the party. My issue is that these enemies will throw out these skills randomly, even if no one is buffed or debuffed. How would I make it so enemies will only use these skills when they'd do something (specifically, only remove debuffs when they're debuffed, or remove the party's buffs when they're buffed)? I could apply a hidden state when an enemy is debuffed that enables the ability to use the debuff remover, but that's only half of my problem, and it raises other problems if they cancel a debuff by getting buffed. Frankly it'd be a huge pain to implement.
 

Desperado

Villager
Member
Joined
Jul 30, 2018
Messages
17
Reaction score
1
First Language
English
Primarily Uses
RMVXA
I think you'll want something like Hime's Scope Conditions. Assuming that you're applying these buffs or debuffs as states you can set it up so they will only use them if their opponent is afflicted with a state. I used a similar setup not that long ago for an enemy skill I was creating, you can check my post history. I can't guarantee this is 100% applicable to your situation but it might help.
 

Megamatt215

Veteran
Veteran
Joined
Apr 28, 2016
Messages
67
Reaction score
0
First Language
English
Primarily Uses
N/A
I think you'll want something like Hime's Scope Conditions. Assuming that you're applying these buffs or debuffs as states you can set it up so they will only use them if their opponent is afflicted with a state. I used a similar setup not that long ago for an enemy skill I was creating, you can check my post history. I can't guarantee this is 100% applicable to your situation but it might help.
I'm not using states for the buffs, I'm using the "add buff" thing in the skill effects box. I don't care if the skill hits everyone, I just want my bosses to quit wasting turns on the skill when it's not necessary.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,090
Members
137,587
Latest member
Usagiis
Top