Lord Ganja Posted August 17, 2015 Group: Members Topic Count: 141 Topics Per Day: 0.03 Content Count: 444 Reputation: 22 Joined: 06/18/12 Last Seen: August 11, 2018 Share Posted August 17, 2015 What's the latest src mod here to set a max sp for asura damage? If the character exceeds 7k sp. The output damage will only be for 7k sp. What should I edit in battle.c? case MO_EXTREMITYFIST: skillratio += 100 * (7 + sstatus->sp / 10); skillratio = min(500000,skillratio); //We stop at roughly 50k SP for overflow protection break; Quote Link to comment Share on other sites More sharing options...
1 Ninja Posted August 21, 2015 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 513 Reputation: 84 Joined: 08/11/12 Last Seen: July 4, 2024 Share Posted August 21, 2015 (edited) case MO_EXTREMITYFIST: if(sstatus->sp <= 7000) skillratio += 100 * (7 + sstatus->sp / 10); else skillratio += 100 * (7 + 7000 / 10); skillratio = min(500000,skillratio); //We stop at roughly 50k SP for overflow protection break; You can also comment out the last skill ratio statement because you have already set the max sp in the computation Edited August 21, 2015 by jezznar 2 Quote Link to comment Share on other sites More sharing options...
Lord Ganja Posted August 19, 2015 Group: Members Topic Count: 141 Topics Per Day: 0.03 Content Count: 444 Reputation: 22 Joined: 06/18/12 Last Seen: August 11, 2018 Author Share Posted August 19, 2015 BUMP* Quote Link to comment Share on other sites More sharing options...
Lord Ganja Posted August 21, 2015 Group: Members Topic Count: 141 Topics Per Day: 0.03 Content Count: 444 Reputation: 22 Joined: 06/18/12 Last Seen: August 11, 2018 Author Share Posted August 21, 2015 case MO_EXTREMITYFIST: if(sstatus->sp <= 7000) skillratio += 100 * (7 + sstatus->sp / 10); else skillratio += 100 * (7 + 7000 / 10); skillratio = min(500000,skillratio); //We stop at roughly 50k SP for overflow protection break; You can also comment out the last skill ratio statement because you have already set the max sp in the computation Thank you! Quote Link to comment Share on other sites More sharing options...
Question
Lord Ganja
What's the latest src mod here to set a max sp for asura damage?
If the character exceeds 7k sp. The output damage will only be for 7k sp.
What should I edit in battle.c?
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.