IsabelaFernandez Posted January 17, 2020 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 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 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 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 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 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...
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