IsabelaFernandez Posted January 17, 2020 Group: Members Topic Count: 146 Topics Per Day: 0.06 Content Count: 355 Reputation: 8 Joined: 04/16/18 Last Seen: October 21, 2024 Share Posted January 17, 2020 Hello friends, I would like to edit the value of this skilll in this part: •If the target is above Job Lv70, each link has an 1% chance to erase its death record. 1% to 100% Quote Link to comment Share on other sites More sharing options...
0 Balfear Posted January 18, 2020 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 256 Reputation: 245 Joined: 07/24/13 Last Seen: March 24 Share Posted January 18, 2020 21 hours ago, IsabelaFernandez said: Hello friends, I would like to edit the value of this skilll in this part: •If the target is above Job Lv70, each link has an 1% chance to erase its death record. 1% to 100% src/map/skill.cpp find and delete this text: if (skill_id == SL_SUPERNOVICE && dstsd && dstsd->die_counter && !(rnd()%100)) 1 Quote Link to comment Share on other sites More sharing options...
0 IsabelaFernandez Posted January 18, 2020 Group: Members Topic Count: 146 Topics Per Day: 0.06 Content Count: 355 Reputation: 8 Joined: 04/16/18 Last Seen: October 21, 2024 Author Share Posted January 18, 2020 9 hours ago, Balfear said: src/map/skill.cpp find and delete this text: if (skill_id == SL_SUPERNOVICE && dstsd && dstsd->die_counter && !(rnd()%100)) it worked perfectly, thank you very much Quote Link to comment Share on other sites More sharing options...
0 JagLers Posted July 5, 2020 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 15 Reputation: 0 Joined: 11/22/19 Last Seen: August 29, 2020 Share Posted July 5, 2020 (edited) On 1/18/2020 at 8:34 AM, Balfear said: src/map/skill.cpp find and delete this text: if (skill_id == SL_SUPERNOVICE && dstsd && dstsd->die_counter && !(rnd()%100)) Hi, Do i only delete the "red bold text" or the whole line? deleting "&& !(rnd()%100)" didnt work on my side. Below is my current code on the said line if (skill_id == SL_SUPERNOVICE && dstsd && dstsd->die_counter) { //Erase death count 1% of the casts dstsd->die_counter = 0; pc_setglobalreg(dstsd, add_str(PCDIECOUNTER_VAR), 0); clif_specialeffect(bl, EF_ANGEL2, AREA); //SC_SPIRIT invokes status_calc_pc for us. } Edited July 5, 2020 by JagLers Quote Link to comment Share on other sites More sharing options...
0 Balfear Posted July 5, 2020 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 256 Reputation: 245 Joined: 07/24/13 Last Seen: March 24 Share Posted July 5, 2020 8 hours ago, JagLers said: Hi, Do i only delete the "red bold text" or the whole line? deleting "&& !(rnd()%100)" didnt work on my side. Below is my current code on the said line Delete only && !(rnd()%100). Did you recompile the server? Quote Link to comment Share on other sites More sharing options...
0 JagLers Posted July 6, 2020 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 15 Reputation: 0 Joined: 11/22/19 Last Seen: August 29, 2020 Share Posted July 6, 2020 17 hours ago, Balfear said: Delete only && !(rnd()%100). Did you recompile the server? Yes I did recompile, but the Link for SN is still not resetting the death timer. Quote Link to comment Share on other sites More sharing options...
Question
IsabelaFernandez
Hello friends, I would like to edit the value of this skilll in this part:
•If the target is above Job Lv70, each link has an 1% chance to erase its death record.
1% to 100%
Link to comment
Share on other sites
5 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.