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,400
Reaction score
10,835
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,718
Reaction score
6,537
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

I've been working furiously on a small demo slice. But with King Slime so busy assets have been slow to form. No matter! I've got the demo for rpgmaker MZ and I'm using the 20 days to make a short and sweet demo game of fighting alongside your rival/boyfriend hehe Kind of like a mini challenge to myself
Yes my images are back ^^, hopefully they won't disappear again.:kaoangry:
It's Sunday. Stop working and take a break. Relax a little.
Ooops ended up trying out making my own A2 tile page instead of testing doors everywhere. Went well so far I think.
I guess I'm done making a blue squirrel's life difficult for posting new threads on different forums.
That's just for today so don't get used to this, squirrel-ish friend! :p

Forum statistics

Threads
131,487
Messages
1,220,225
Members
173,225
Latest member
ZecaVn
Top