How I make conditional aggro rate?

For example,


01. there are two enemy races, human and animal.


02.  Actor 3(Sofia) has friendship to animal.


03. Actor 3 has 50% aggro rate to animal.


04. Actor 3 has 100% aggro rate to human.


05. Other Actors have 100% aggro rate to both.


How I make this conditional aggro rate?
You have to tell us how you define "aggro rate" first.


If you're talking about target rate, that can only be changed by states as it is a trait, so you would make states changing that value and apply them in a troop event on turn 0
You have to tell us how you define "aggro rate" first.


If you're talking about target rate, that can only be changed by states as it is a trait, so you would make states changing that value and apply them in a troop event on turn 0

Thank you for you answer. My aggro rate means target rate yes.


but this is not a simple problem.


I replace the word "race" to "type"


If two enemy type appear at the same time such as Hunter and Hunter' dog,


Actor 3 has 100% target rate to Hunter.


and Actor 3 has 50% target rate to Hunter's dog.


Other actors have 100% target rate to both.


I know target rate can changed by state.


but there is no way to apply different target rate for different type i think.


Is there any way??
no, that's why I said that the result of using states would be troop-based, with everyone in that troop having the same rates.
It's a good question - I believe you'd need a script for it, though, since normal applications of TGR to an actor are considered by all enemies.

Original thread: https://forums.rpgmakerweb.com/threads/how-i-make-conditional-aggro-rate.64799/