Jump to content
  • 0

disable autoguard reflect damage


nobukadnezar

Question


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  163
  • Reputation:   7
  • Joined:  01/07/12
  • Last Seen:  

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

Link to comment
Share on other sites

16 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  247
  • Reputation:   207
  • Joined:  10/23/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  275
  • Reputation:   23
  • Joined:  01/06/13
  • Last Seen:  

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

Edited by ZeiyanRO
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  275
  • Reputation:   23
  • Joined:  01/06/13
  • Last Seen:  

bump /panic

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  275
  • Reputation:   23
  • Joined:  01/06/13
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  163
  • Reputation:   7
  • Joined:  01/07/12
  • Last Seen:  

yes, i mean autoguard + reflect shield. When damage blocked it still reflect damage

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  247
  • Reputation:   207
  • Joined:  10/23/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  163
  • Reputation:   7
  • Joined:  01/07/12
  • Last Seen:  

still no change.

 

btw it should be

 

wd.dmg_lv
 

instead of

 

wd->dmg_lv
 
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  247
  • Reputation:   207
  • Joined:  10/23/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  163
  • Reputation:   7
  • Joined:  01/07/12
  • Last Seen:  

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

i really have no idea /wah

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  163
  • Reputation:   7
  • Joined:  01/07/12
  • Last Seen:  

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?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  275
  • Reputation:   23
  • Joined:  01/06/13
  • Last Seen:  

nope. i once asked that question before. /heh

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  163
  • Reputation:   7
  • Joined:  01/07/12
  • Last Seen:  

okay then i use GIT one and it does not reflect damage

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