#Running a script when an entity targets the player or their pets. Is it possible?

2 messages · Page 1 of 1 (latest)

fast arch
#

I've been trying to find a way to multiply a boss's hp by the amount of nearby players, and so far I've found a good method that works when a boss needs to be right clicked to begin the fight, and also in theory works when the boss is summoned right before the fight starts. However, there is one category I've been stumped by, and that is bosses who begin the fight when you approach them. Some examples would be Mowzie's Mobs's Ferrous Wroughtnaut and Frostmaw, along with Cataclysm's Netherite Monstrosity.
For these cases, I don't know how to run the script that boosts their health. The only idea I could think of was to try and run the script when the boss target's a player or their pets. But is that even something you can use as a check or trigger?

hard scarabBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!