pf111

Veteran
Veteran
Joined
Jun 1, 2021
Messages
59
Reaction score
9
First Language
English
Primarily Uses
RMMZ
I have a couple of states that make the actor have 0% target rate but they are still hit by 'scope: all' attacks, is there a way to prevent this? I can make them take no damage obviousy but that still makes the message '0' appear so what I want to make is something that excludes target rate 0% party members from being in scope: all.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
38,473
Reaction score
10,894
First Language
German
Primarily Uses
RMMV
Then you'll need to check for target manager type plugins, or scope manager plugins.

This is not possible by default because scope all intentionally ignores target rate (it wouldn't target all otherwise)
 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
8,875
Reaction score
6,677
First Language
English
Primarily Uses
RMMV
I have a couple of states that make the actor have 0% target rate but they are still hit by 'scope: all' attacks, is there a way to prevent this?
You can make the code do whatever you want, but that's not the purpose of the target rate. It makes the actors more or less likely to be selected as a target in comparison to each other, not to make them immune to damage.

If you don't want to go another way and prefer to do this, you could try using VisuStella Battle Core and put this notetag in your Scope: All skills:
Code:
<JS Targets>
targets = targets.filter(battler => battler.tgr>0);
</JS Targets>
 

pf111

Veteran
Veteran
Joined
Jun 1, 2021
Messages
59
Reaction score
9
First Language
English
Primarily Uses
RMMZ
Yes! thats exactly what I was looking for. Thanks.
 

Latest Threads

Latest Profile Posts

imgur sure is getting weird, one day I lose gradually all my images, the other I get them back randomly and then again they disappear again.
Despite OPT2 praise it still has some strange stories in it. Lady Mikka is trying to work herself to death because of guilt. Guilt over what? ¯\_(ツ)_/¯ So instead of finding a NPC to have a heart to heart with her they decide the cure is a new kimono. So when she drops dead she'll at least be well dressed. I haven't even got to the strange part yet.
Did so much work on the game today. I wish I could post it all in this status update but there is a character limit of course haha. I thought about making a topic for updates, though... maybe.
The most recent sign that I am old. I have done martial arts for over 4 decades. Never HAD to stretch out. Good, of course, but never required. Was doing some kicks in the kitchen because, why not, and I felt a pop in the back of my thigh. Now I am limping around. Gotta love getting old.
One of the biggest perks of being fluent in English is how many new and interesting recipes I am able to find and try out that I would have hardly come across if I just spoke my mothertounge :3

Forum statistics

Threads
131,683
Messages
1,222,233
Members
173,436
Latest member
Manic_Umbra
Top