Skip to content

fix(player_quest_srv): update support limit at rank up

Summary

This PR fixes the problem about the rank up didn't update the support party limitation. Now the support party limit works fine.

Related Issues

closes #221 (closed)

Changes Made

  • Fix
    • internal/domain/model/user/user_model.go
      • it didn't update SupportLimit field by my mistake
  • Refactor
    • internal/application/service/player_quest_service.go
      • Moved the rankUp process into user_model

Testing

  • Rank up doesn't make panic

Checklist

  • No extra unnecessary files are included.
  • No extra fmt.Println() or fmt.Printf() statements are present.
  • The game client can accept the response (optional)
Edited by Dosugamea

Merge request reports