Hnomkeng Posted August 13, 2019 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 99 Reputation: 2 Joined: 02/23/14 Last Seen: Thursday at 03:56 PM Share Posted August 13, 2019 I need change HP SP recovery, I need change recovery on sit only. Thank you for help. Quote Link to comment Share on other sites More sharing options...
0 Cyro Posted August 13, 2019 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 1138 Reputation: 290 Joined: 04/29/13 Last Seen: July 20, 2024 Share Posted August 13, 2019 Check :- 1 Quote Link to comment Share on other sites More sharing options...
0 Hnomkeng Posted August 13, 2019 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 99 Reputation: 2 Joined: 02/23/14 Last Seen: Thursday at 03:56 PM Author Share Posted August 13, 2019 (edited) 3 hours ago, Cyro said: Check :- How to recovery on sit only ? *PS : no recovery on stand or run. Edited August 13, 2019 by Hnomkeng Quote Link to comment Share on other sites More sharing options...
0 Naruto Posted August 13, 2019 Group: Members Topic Count: 20 Topics Per Day: 0.01 Content Count: 416 Reputation: 74 Joined: 05/16/19 Last Seen: January 24, 2021 Share Posted August 13, 2019 status.c // Skill-related recovery (only when sit) sregen = regen->ssregen; val = 0; val += status->max_hp/5; sregen->hp = cap_value(val, 0, SHRT_MAX); if( (skill=pc_checkskill(sd,MO_SPIRITSRECOVERY)) > 0 ) val += skill*4 + skill*status->max_hp/500; i added this part right on top of the mo_spiritrecovery and right under the declaration of the sitting regen ... you guys were just playing with the rates and time and no code exists for it afaik val += status->max_hp/5; sregen->hp = cap_value(val, 0, SHRT_MAX); 1 Quote Link to comment Share on other sites More sharing options...
Question
Hnomkeng
I need change HP SP recovery,
I need change recovery on sit only.
Thank you for help.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.