docs(agents): set flags_extra on every difficulty entry (#27586)

This commit is contained in:
Andrew
2026-09-10 19:13:35 -03:00
committed by GitHub
parent c9a5efc491
commit b34efa2abb
+1
View File
@@ -10,6 +10,7 @@ Run the linter before claiming a change is done: `python apps/codestyle/codestyl
## Data conventions
- Set `flags_extra` on every `difficulty_entry_*` template, not just the base entry: which of the two the engine reads varies by call site.
- `smart_scripts` edits always rewrite the full block — `DELETE` + `INSERT` of every row for the `(entryorguid, source_type)` pair, with the `DELETE` matching both columns — never a partial `UPDATE`, not even for a comment-only fix.
- Sniff-backed changes stamp `VerifiedBuild` (the sniff's client build) on every row the sniff validated, including rows the fix doesn't otherwise touch.
- `creature_immunities`: negative ids are curated shared sets — reference them via `creature_template.CreatureImmunitiesId`, never edit them or allocate new ones. Positive ids are single-creature sets — reuse an existing set only on an exact match; to extend a creature's immunities, insert a superset under a new id and point the creature's `CreatureImmunitiesId` at it.