agent66 Posted February 21, 2022 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 01/27/22 Last Seen: March 23, 2024 Share Posted February 21, 2022 I have tried to search for it everywhere in code, but I can't find where I can modify the amount of dex and agi gained from the skill Improve Concentration of archer. Quote Link to comment Share on other sites More sharing options...
1 _Terra Posted February 22, 2022 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 166 Reputation: 54 Joined: 07/15/13 Last Seen: 6 hours ago Share Posted February 22, 2022 go to src/map/status.cpp and search case SC_CONCENTRATE: then if you find this line case SC_CONCENTRATE: val2 = 2 + val1; if (sd) { // Store the card-bonus data that should not count in the % val3 = sd->indexed_bonus.param_bonus[1]; // Agi val4 = sd->indexed_bonus.param_bonus[4]; // Dex } else val3 = val4 = 0; break; change value 2 to your desired number. Need remember this skill upgrades your agi/dex by one per level, if you put 8, at max level you'll have +18 AGI/DEX 1 Quote Link to comment Share on other sites More sharing options...
0 kalabasa Posted February 21, 2022 Group: Members Topic Count: 123 Topics Per Day: 0.05 Content Count: 478 Reputation: 14 Joined: 11/30/17 Last Seen: July 27, 2024 Share Posted February 21, 2022 try to look at status.cpp Quote Link to comment Share on other sites More sharing options...
0 agent66 Posted February 22, 2022 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 01/27/22 Last Seen: March 23, 2024 Author Share Posted February 22, 2022 Thank you Elysium, I was trying to search for AC_CONCENTRATION since I though AC meant archer, anyway, I actually wanted to modify the agi separetly, but thanks to you I found out that this code below change the agi stats. if(sc->data[SC_CONCENTRATE] && !sc->data[SC_QUAGMIRE]) agi += (agi-sc->data[SC_CONCENTRATE]->val3)*sc->data[SC_CONCENTRATE]->val2/100; Quote Link to comment Share on other sites More sharing options...
0 _Terra Posted February 23, 2022 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 166 Reputation: 54 Joined: 07/15/13 Last Seen: 6 hours ago Share Posted February 23, 2022 On 2/22/2022 at 10:43 AM, agent66 said: Thank you Elysium, I was trying to search for AC_CONCENTRATION since I though AC meant archer, anyway, I actually wanted to modify the agi separetly, but thanks to you I found out that this code below change the agi stats. if(sc->data[SC_CONCENTRATE] && !sc->data[SC_QUAGMIRE]) agi += (agi-sc->data[SC_CONCENTRATE]->val3)*sc->data[SC_CONCENTRATE]->val2/100; You're welcome Quote Link to comment Share on other sites More sharing options...
Question
agent66
I have tried to search for it everywhere in code, but I can't find where I can modify the amount of dex and agi gained from the skill Improve Concentration of archer.
Link to comment
Share on other sites
4 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.