Fix SetGlyph() can remove the old and apply now glyph effect#392
Fix SetGlyph() can remove the old and apply now glyph effect#392kissingers wants to merge 2 commits into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthrough
ChangesGlyph lifecycle handling
Estimated code review effort: 2 (Simple) | ~10 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Without this fix, the old effect will not remove and need relogin or change 2 Talent twice than take effect. |
|
This is my manual fix not with any AI, if there is more good way, can direct modify it. |
The original SetGlyph didn't remove old glyph effects and apply new ones. I've fixed it based on the logic in
void Player::ActivateSpec(uint8 spec)
If there is more good way, please improve it.
Summary by CodeRabbit