Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dig_channel_activity_actor::finish to match dig_activity_actor::finish #40282

Merged
merged 2 commits into from
May 7, 2020

Conversation

rsulli55
Copy link
Contributor

@rsulli55 rsulli55 commented May 7, 2020

Summary

SUMMARY: Balance "Update character modifications in dig_channel_activity_actor::finish to match dig_activity_actor::finish"

Purpose of change

When working on #40126, I noticed that the character modifications in the finish function for ACT_DIG_CHANNEL did not match those of the finish function for ACT_DIG. Specifically, ACT_DIG considered helpers and also used mod_stored_nutr instead of mod_hunger. I have updated the finish function for ACT_DIG_CHANNEL to modify the character in the same way as ACT_DIG.

Describe the solution

Copied the relevant code from act_dig_activity_actor::finish.

Describe alternatives you've considered

Not changing it.

Testing

Spawned npcs and made sure the character modifications used the correct value.

Additional context

to take into account npc helpers
To make it synchronize with dig_activity_actor::finish
@ralreegorganon ralreegorganon merged commit e1ada1d into CleverRaven:master May 7, 2020
@rsulli55 rsulli55 deleted the update-dig-channel branch May 8, 2020 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants