fix(Core/Creature): Implement respond to call for help faction flag. (#21959)

This commit is contained in:
Benjamin Jackson
2025-04-29 21:19:58 -04:00
committed by GitHub
parent d8bc1d1797
commit 5686f1e87a
3 changed files with 16 additions and 11 deletions

View File

@@ -986,6 +986,7 @@ struct FactionTemplateEntry
return hostileMask == 0 && friendlyMask == 0;
}
[[nodiscard]] bool IsContestedGuardFaction() const { return (factionFlags & FACTION_TEMPLATE_FLAG_ATTACK_PVP_ACTIVE_PLAYERS) != 0; }
[[nodiscard]] bool FactionRespondsToCallForHelp() const { return (factionFlags & FACTION_TEMPLATE_FLAG_RESPOND_TO_CALL_FOR_HELP) != 0; }
};
struct GameObjectArtKitEntry