BabaVoss Posted June 17, 2022 Group: Members Topic Count: 37 Topics Per Day: 0.02 Content Count: 79 Reputation: 0 Joined: 06/17/20 Last Seen: February 7, 2024 Share Posted June 17, 2022 Hello good day, im using pre-renewal server. I would like to ask where i can change the formula of thanatos/ice pick effect? base on my test, it is base on targets hard def, not on soft def. i believe in pre-re it should be on targets soft def. thanks you in advance Quote Link to comment Share on other sites More sharing options...
0 _Terra Posted June 19, 2022 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 170 Reputation: 55 Joined: 07/15/13 Last Seen: 1 hour ago Share Posted June 19, 2022 Go to src/map/battle.cpp and search if (def1 > 100) def1 = 100; 1 Quote Link to comment Share on other sites More sharing options...
0 Playtester Posted June 19, 2022 Group: Developer Topic Count: 37 Topics Per Day: 0.01 Content Count: 897 Reputation: 248 Joined: 01/30/13 Last Seen: Yesterday at 09:07 AM Share Posted June 19, 2022 On 6/17/2022 at 9:53 PM, abalahim said: Hello good day, im using pre-renewal server. I would like to ask where i can change the formula of thanatos/ice pick effect? base on my test, it is base on targets hard def, not on soft def. i believe in pre-re it should be on targets soft def. thanks you in advance It's actually both in pre-renewal. It's HardDef+SoftDef basically. ATK_RATE2(wd->damage, wd->damage2, attack_ignores_def(wd, src, target, skill_id, skill_lv, EQI_HAND_R) ?100:(is_attack_piercing(wd, src, target, skill_id, skill_lv, EQI_HAND_R) ? (int64)is_attack_piercing(wd, src, target, skill_id, skill_lv, EQI_HAND_R)*(def1+vit_def) : (100-def1)), attack_ignores_def(wd, src, target, skill_id, skill_lv, EQI_HAND_L) ?100:(is_attack_piercing(wd, src, target, skill_id, skill_lv, EQI_HAND_L) ? (int64)is_attack_piercing(wd, src, target, skill_id, skill_lv, EQI_HAND_L)*(def1+vit_def) : (100-def1)) ); Only need to change the (def1+vit_def) part if you want to customize it. 1 Quote Link to comment Share on other sites More sharing options...
0 BabaVoss Posted June 25, 2022 Group: Members Topic Count: 37 Topics Per Day: 0.02 Content Count: 79 Reputation: 0 Joined: 06/17/20 Last Seen: February 7, 2024 Author Share Posted June 25, 2022 On 6/19/2022 at 10:48 PM, Playtester said: It's actually both in pre-renewal. It's HardDef+SoftDef basically. ATK_RATE2(wd->damage, wd->damage2, attack_ignores_def(wd, src, target, skill_id, skill_lv, EQI_HAND_R) ?100:(is_attack_piercing(wd, src, target, skill_id, skill_lv, EQI_HAND_R) ? (int64)is_attack_piercing(wd, src, target, skill_id, skill_lv, EQI_HAND_R)*(def1+vit_def) : (100-def1)), attack_ignores_def(wd, src, target, skill_id, skill_lv, EQI_HAND_L) ?100:(is_attack_piercing(wd, src, target, skill_id, skill_lv, EQI_HAND_L) ? (int64)is_attack_piercing(wd, src, target, skill_id, skill_lv, EQI_HAND_L)*(def1+vit_def) : (100-def1)) ); Only need to change the (def1+vit_def) part if you want to customize it. hello bro, follow up question regarding this. what does this script means. if (def1 > 100) def1 = 100; ATK_RATE2(wd->damage, wd->damage2, attack_ignores_def(wd, src, target, skill_id, skill_lv, EQI_HAND_R) ?100:(is_attack_piercing(wd, src, target, skill_id, skill_lv, EQI_HAND_R) ? (int64)is_attack_piercing(wd, src, target, skill_id, skill_lv, EQI_HAND_R)*(def1+vit_def) : (100-def1)), attack_ignores_def(wd, src, target, skill_id, skill_lv, EQI_HAND_L) ?100:(is_attack_piercing(wd, src, target, skill_id, skill_lv, EQI_HAND_L) ? (int64)is_attack_piercing(wd, src, target, skill_id, skill_lv, EQI_HAND_L)*(def1+vit_def) : (100-def1)) this last part, 100-def1 i would like to understand the default script before ill make changes. the reason why i want to adjust it basically because, thana card takes effect only if vit def is around 150 or higher. which part of the script should i adjust, incase i want it to take efficient effect around 120 vitdef. on the test i made, lets say, weapon with 2hydra and 2turtle general versus 1thana 2tg and hydra card, NON-thana still deals more damage on 120-140 vit def target rathen than with thana itself. Quote Link to comment Share on other sites More sharing options...
0 BabaVoss Posted June 25, 2022 Group: Members Topic Count: 37 Topics Per Day: 0.02 Content Count: 79 Reputation: 0 Joined: 06/17/20 Last Seen: February 7, 2024 Author Share Posted June 25, 2022 On 6/19/2022 at 9:46 AM, EIysium said: Go to src/map/battle.cpp and search if (def1 > 100) def1 = 100; hello bro, with part of the script should i adjust? Quote Link to comment Share on other sites More sharing options...
Question
BabaVoss
Hello good day, im using pre-renewal server. I would like to ask where i can change the formula of thanatos/ice pick effect?
base on my test, it is base on targets hard def, not on soft def. i believe in pre-re it should be on targets soft def.
thanks you in advance
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.