for example, if a boss has low hp, whether or not it should defend itself will be influenced by the threat the player poses; if your main source of damage is fucking dead and the rest of the party is on low HP, it might choose to finish you off instead of bothering with healing. and the perceived threat can be calculated just by looking at all of the numbers