Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creature/Script: npc_air_force_bots #23307

Closed
Killyana opened this issue May 22, 2019 · 2 comments
Closed

Creature/Script: npc_air_force_bots #23307

Killyana opened this issue May 22, 2019 · 2 comments

Comments

@Killyana
Copy link
Member

Description: The script npc_air_force_bots spawn a guard even if the player is friendly to the area.

https://github.com/TrinityCore/TrinityCore/blob/3.3.5/src/server/scripts/World/npcs_special.cpp#L180-L186

Steps to reproduce the problem:

  1. .go c 76812 (with a horde char=
  2. notice a guard will spawn
  3. kill this guar an another one will spawn

Branch(es): both

TC rev. hash/commit: rev. 5343487

@ghost
Copy link

ghost commented May 22, 2019

OK, so a faction check is needed in that script, I guess.

@jackpoz
Copy link
Member

jackpoz commented May 23, 2019

maybe caused by fe25ce4#diff-4676c91d4efed96f267ad2efac824e5dL182 ? Need to debug where IsValidAttackTarget() returns true (or where it doesn't return false)

@Treeston Treeston self-assigned this Jul 9, 2019
@Treeston Treeston closed this as completed Jul 9, 2019
Treeston added a commit that referenced this issue Jul 9, 2019
Shauren pushed a commit that referenced this issue Dec 14, 2021
…heck along the way. Closes #23307.

(cherry picked from commit 0ae2afe)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants