azerothcore / azerothcore-wotlk

Complete Open Source and Modular solution for MMO
http://www.azerothcore.org
GNU Affero General Public License v3.0
6.55k stars 2.63k forks source link

Civilian NPCs don't call for guard backup #10571

Open Annamaria-CC opened 2 years ago

Annamaria-CC commented 2 years ago

Current Behaviour

Civilians don't care if you kill people next to them. Civilians don´t care if you attack them and don't call for guards image image

Expected Blizzlike Behaviour

image Tested on wotlk ptr: Vanilla world:

  1. They phase back after 5 minutes when not in combat, this timer does run when they are in combat but they wont Phase back when in combat.
  2. Only attackable npcs will call for guards
  3. hitting another player near a NPC (attackable or not, e.g. child) will call for a guard
  4. These guards are PHASED and will phase in/out
  5. Only 1 guard will phase in and attack 1 player at a time, unless they are already phased in you wont get attack by more then 1 of these guards.
  6. with two players, two guards will be phased.
  7. These guards ignore stealth/vanish
  8. The range on the call for help appears to be +-30 yards.

TBC:

  1. Guards mark get applied, 2 riders will phase in
  2. One will attack the player with a spell
  3. Chance on dismount
  4. guards use abilities (see gultask comment SOON tm)
  5. The longer you stay, the more get phased in and the more attack you.

WOTLK:

No call for guard or guards mark.

Source

https://wowpedia.fandom.com/wiki/Guard?oldid=2365415

Steps to reproduce the problem

  1. stand next to npc
  2. kill someone next to npc, or hit npc
  3. see that no guards are called

Extra Notes

No response

AC rev. hash/commit

f73f131315e2

Operating system

Linux

Custom changes or Modules

mod-anticheat mod-autobalance mod-cfbg mod-chromie-xp mod-desertion-warnings mod-duel-reset mod-eluna-lua-engine mod-low-level-arena mod-progression-system

UltraNix commented 2 years ago

Missing Guard Posts mechanic (GAMEOBJECT_TYPE_GUARDPOST).