Skip to content

Conversation

GladieUO
Copy link
Contributor

@GladieUO GladieUO commented Oct 6, 2025

So there has been long time issue of pets that suppose to be casters, not continue fighting after spell gets off. They would immediately follow master.
Turns out whenever the master doesnt have memory OnHarmedBy(Enemy) + is not in war and "in fight with target", pets will just not stick to the target.

If player wanted his pets/summons to stick fighting and casting, he would have to call all guard me and attack target.

What it does?
After you call all kill and target your enemy

  1. if its not player
  2. send your pets / summons on to attack target
  3. calls function OnHarmedBy that adds memory with a target on you
  4. activates war and attacks the same target

For sure there is better way how to fix this issue with pets falling back to follow master but I couldnt find it.

fix pets not sticking to target after casting spell
add check to not abuse player attacks
@Jhobean
Copy link
Contributor

Jhobean commented Oct 6, 2025

I like this fix. Maybe there a better way to achieve it but it seem effective. I dont see what negative impact it could have.

@GladieUO
Copy link
Contributor Author

GladieUO commented Oct 7, 2025

Well turns out the fix is not really a fix. If you turn warmode off, the pet / summon will go back to following. Its pissing me off. 😁😁 So its basically similar to all guard me now.

@GladieUO
Copy link
Contributor Author

GladieUO commented Oct 7, 2025

I think I found much more elegant solution for this.
With this, they either A) attack masters target B) if the master doesnt have target, but called for All kill, they will continue to fight their target from the all kill

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants