Jump to content
  • 0
BabaVoss

Thanatos/ice pick formula

Question

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

  • 0

Go to src/map/battle.cpp and search if (def1 > 100) def1 = 100; 

  • Love 1
Link to comment
Share on other sites

  • 0
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.

  • Love 1
Link to comment
Share on other sites

  • 0
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))

image.png.acadafe8b8cb99649902541a9a5c8608.png

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.