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,472
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,874
Reaction score
6,675
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

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
Princess.png
Arms aren't done yet and I think I've set myself up for a nightmare to animate all the poses.
Based off MZs people 3-4
She's gonna be an Assist class.
If I’m gonna get this many migraines, can I at least have it be part of an X-Men power origin story?
Been a long time again, but here's a new royalty free Asian battle theme. Mix of Chinese and Japanese instruments.



Don't ever take the last cup of saké, dood...

Forum statistics

Threads
131,681
Messages
1,222,198
Members
173,431
Latest member
DieritaScarlet
Top