{"action":"opened","issue":{"url":"https://api.github.com/repos/deathsythe47/base_entranced/issues/52","labels_url":"https://api.github.com/repos/deathsythe47/base_entranced/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/deathsythe47/base_entranced/issues/52/comments","events_url":"https://api.github.com/repos/deathsythe47/base_entranced/issues/52/events","html_url":"https://github.com/deathsythe47/base_entranced/issues/52","id":113888034,"number":52,"title":"Bug with recharging force after delivering item with forcelimit","user":{"login":"deathsythe47","id":13821762,"avatar_url":"https://avatars.githubusercontent.com/u/13821762?v=3","gravatar_id":"","url":"https://api.github.com/users/deathsythe47","html_url":"https://github.com/deathsythe47","followers_url":"https://api.github.com/users/deathsythe47/followers","following_url":"https://api.github.com/users/deathsythe47/following{/other_user}","gists_url":"https://api.github.com/users/deathsythe47/gists{/gist_id}","starred_url":"https://api.github.com/users/deathsythe47/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deathsythe47/subscriptions","organizations_url":"https://api.github.com/users/deathsythe47/orgs","repos_url":"https://api.github.com/users/deathsythe47/repos","events_url":"https://api.github.com/users/deathsythe47/events{/privacy}","received_events_url":"https://api.github.com/users/deathsythe47/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/deathsythe47/base_entranced/labels/base","name":"base","color":"bfe5bf"},{"url":"https://api.github.com/repos/deathsythe47/base_entranced/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/deathsythe47/base_entranced/labels/confirmed","name":"confirmed","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-28T18:16:09Z","updated_at":"2015-10-28T18:16:09Z","closed_at":null,"body":"This is because of\r\n```c\r\nif (self->client->holdingObjectiveItem &&\r\n\t\t\t\t\tg_entities[self->client->holdingObjectiveItem].inuse &&\r\n\t\t\t\t\tg_entities[self->client->holdingObjectiveItem].genericValue15)\r\n\t\t\t\t{ //1 point per 7 seconds.. super slow\r\n\t\t\t\t\tself->client->ps.fd.forcePowerRegenDebounceTime = level.time + 7000;\r\n\t\t\t\t}\r\n```\r\n\r\nSince force regen is made to only check every 7 seconds when you are carrying a forcelimit item, you can potentially have a check happen right before delivering the item, and then not recharge force for 6.9 seconds afterwards."}}