[08] Reload item enchants and random props#89
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1ac0cd2789
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review\n\nPushed e4d1f67 for the review thread. Loaded top-level equipped items now run the represented ApplyEnchantment path after inventory hydration, including canonical duration registration and ItemEnchantTimeUpdate emission for duration enchants. Anchored to C++ Player::_LoadInventory -> _ApplyAllItemMods -> ApplyEnchantment. |
|
QA validation checklist:
Note: CI/reviewer status must be green on the current head before this is merge-ready. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e4d1f670ce
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review Pushed 21ad0de to address the actionable comments: item load now mirrors C++ SetItemRandomProperties before DB enchant string parsing so random property/suffix slots are rebuilt when enchantments is empty, and loaded equipped enchantments now apply represented effect actions in addition to duration updates. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 21ad0de4de
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Review fixes pushed in 36068b5.\n\nAddressed current Codex feedback:\n- Permanent enchant visuals are now computed into login VisibleItems from SpellItemEnchantment.db2 via the loaded item model.\n- Loaded enchant replay now applies state before login CREATE but queues duration/stat/visible UpdateObject packets until after send_login_sequence, so referenced item/player objects already exist client-side.\n- Equipped enchant replay now includes profession slots PROFESSION_SLOT_START..PROFESSION_SLOT_END as well as normal equipment slots.\n\nValidated locally:\n- PROTOC=/home/cdmonio/.local/protoc/bin/protoc cargo test -p wow-world loaded_item_instance_fields --lib\n- PROTOC=/home/cdmonio/.local/protoc/bin/protoc cargo test -p wow-world loaded_item_slots_apply_equipped_enchantments_for_equipment_and_profession_like_cpp --lib\n- PROTOC=/home/cdmonio/.local/protoc/bin/protoc cargo test -p wow-world loaded_equipped_item_enchantments --lib\n- PROTOC=/home/cdmonio/.local/protoc/bin/protoc cargo test -p wow-world current_player_item_enchantment --lib\n- cargo fmt --all -- --check\n- git diff --check\n- PROTOC=/home/cdmonio/.local/protoc/bin/protoc cargo check -p world-server\n\n@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 36068b5ee5
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review Pushed
Validation:
|
|
Codex Review: Didn't find any major issues. Delightful! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Refs #20
QA pending: do not merge until relog/capture validation, CI, and Codex reviewer verdict are complete. This is a partial #20 slice and must not close the issue.
Summary:
Validation reported locally:
Manual QA pending: equip enchanted/random-prop item, relog, compare item state and create packets vs C++.