• 0
nobukadnezar

disable autoguard reflect damage

Question

Hello rathena,

 

How to modify autoguard skills so it doesn't reflect damage when autoguard skill take effect. Like asura-ing paladin with autoguard still got reflect.

 

Thank you in advance

Share this post


Link to post
Share on other sites

16 answers to this question

Recommended Posts

Oh, you're on SVN.  You should move to GIT to get the latest source, or GIT's SVN link even.

Share this post


Link to post
Share on other sites

bump for this. also on the case of safetywall and parrying

Edited by ZeiyanRO

Share this post


Link to post
Share on other sites

lol i didn't read that well. maybe what he means is this:

 

reflect shield + auto guard skill = damage blocked by auto guard skill still reflects the damage ( no damage to paladin but deals reflect damage to the attacker)

same goes for parry/safetywall and item based reflect damage.

Share this post


Link to post
Share on other sites

In battle.c

 

FIND

		// Calculate skill reflect damage separately
		if( tsc ) {
			struct status_data *tstatus = status_get_status_data(target);

 

REPLACE WITH

		// Calculate skill reflect damage separately
		if( tsc && wd->dmg_lv != ATK_BLOCK ) {
			struct status_data *tstatus = status_get_status_data(target);

 

Should work.  Let me know.

Share this post


Link to post
Share on other sites

Actually I just tested this on clean source and it's not reflecting any damage after Auto Guard + Reflect Shield for me, even without that change.

Share this post


Link to post
Share on other sites

that's strange.... i use rev 17421 btw. Could you help us investigate about this?

i really have no idea /wah

Share this post


Link to post
Share on other sites

actually i have add plenty custom src at my own server. I am afraid if i have to change from beginning. So is there a way to fix it without using latest svn from scratch?

Share this post


Link to post
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.

Loading...