ClanGenOfficial / clangen

Warrior Cats fan game
https://clangen.io
Other
229 stars 398 forks source link

[CODE] Refactor `Personality.mentor_influence` to remove circular import #2526

Open j-gynn opened 5 days ago

j-gynn commented 5 days ago

Description Basically, change Personality.mentor_influence so that its argument mentor is instead the mentor's personality. In doing so, fix the return so that it's no longer returning the mentor's ID (which it doesn't use or calculate and the calling function must have had to pass in the mentor Cat object).