prism 2 Posted July 18, 2015 (edited) I want to modify the SP cost of cloaking if the level is 3. I want it to drain 10% of the user's maximum SP per second while cloaked. Also, I want Renovatio to work on Emperiums but I only want it to heal 1% of it's HP every 4 seconds. Edited August 3, 2015 by prism Quote Share this post Link to post Share on other sites
0 prism 2 Posted August 19, 2015 I found how to change the SP cost. It's in status.c. Search for this: case SC_MAXIMIZEPOWER: case SC_CLOAKING: if(!status->charge(bl, 0, 1)) break; //Not enough SP to continue. sc_timer_next(sce->val2+tick, status->change_timer, bl->id, data); return 0; The 1 is the amount of SP drained per tick. Note: changing this will affect Maximize Power as well so you'll need to separate them into different cases. Quote Share this post Link to post Share on other sites
I want to modify the SP cost of cloaking if the level is 3. I want it to drain 10% of the user's maximum SP per second while cloaked.
Also, I want Renovatio to work on Emperiums but I only want it to heal 1% of it's HP every 4 seconds.
Edited by prismShare this post
Link to post
Share on other sites