Jump to content
  • 0

Renewal EDP is not working - Please Help me


Dvrstle

Question


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  361
  • Reputation:   10
  • Joined:  12/30/11
  • Last Seen:  

   if( sc->data[sC_EDP] ){
		    switch(skill_num){
			 case AS_SPLASHER:			   case AS_VENOMKNIFE:
			 case ASC_METEORASSAULT:
			 break;
#ifdef RENEWAL_EDP
			 case AS_SONICBLOW:
			 case ASC_BREAKER:
			 case GC_COUNTERSLASH:
			 case GC_CROSSIMPACT:
			  ATK_RATE(50); // only modifier is halved but still benefit with the atk and weapon bonus
			  break;
#else
			 case ASC_BREAKER: break;
			 default:
			  ATK_ADDRATE(sc->data[sC_EDP]->val3);//It doesn't exist in RENEWAL
#endif
		    }
  }
 }

/// renewal enchant deadly poison algorithm
///
/// leave this line to enable the renewed EDP algorithm
/// under renewal mode:
///  - damage is NOT increased by 400%
///  - it does NOT affect grimtooth
///  - weapon and status ATK are increased
#define RENEWAL_EDP

help

Link to comment
Share on other sites

13 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  134
  • Reputation:   35
  • Joined:  02/27/12
  • Last Seen:  

What exactly is not working?

It increases wAtk and eAtk(actually it's increasing bAtk in source, maybe it's right) in Renewal the way it should.

But this code you posted is not the currently in source, it's the one I posted that I think is near to official.

If you implement this code you posted in your file "battle.c" replacing the actual piece, it should work from my tests.

http://rathena.org/board/tracker/issue-6066-edp-should-no-longer-increase-final-damage/

Edited by MarkZD
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  361
  • Reputation:   10
  • Joined:  12/30/11
  • Last Seen:  

i've already copied it . . . but its not working . . . as far as i know.. . Cross impact damage should be halved right?

help me please =)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  134
  • Reputation:   35
  • Joined:  02/27/12
  • Last Seen:  

i've already copied it . . . but its not working . . . as far as i know.. . Cross impact damage should be halved right?

help me please =)

It's halved in this piece:

case GC_CROSSIMPACT:
							  ATK_RATE(50);

Its damage is still increased by EDP, but it's halved after increased.

Edited by MarkZD
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  361
  • Reputation:   10
  • Joined:  12/30/11
  • Last Seen:  

ahh . . . so i will not notice it that it was halved?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  134
  • Reputation:   35
  • Joined:  02/27/12
  • Last Seen:  

Well, let's say that if it was not halved and you're hitting 30k it'd hit 60k.

It's halved but because of beeing affected by EDP before it'll, probably, always do greater damage than without EDP.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  361
  • Reputation:   10
  • Joined:  12/30/11
  • Last Seen:  

i can see that the base atk increases . . . but here's d dmage. . . no edp = 400 w/ edp = 1k

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  134
  • Reputation:   35
  • Joined:  02/27/12
  • Last Seen:  

i can see that the base atk increases . . . but here's d dmage. . . no edp = 400 w/ edp = 1k

It's because it's not the 400 damage that will be halved.

You used EDP so your bATK and eATK increased, so your attack will be higher because it depends on your bATK and eATK that you can check in alt+q.

Sample:

You have 200 bATK, you will damage =400-100(def) = 300.

After EDP you'll have 800 bAtk, so it'll damage = 1600/2(halved edp) = 800(-100def) = 700.

Of course this is not the formula of damage in the source, it's just a sample so you can see that damage with EDP will, probably, always be higher than normal even with halved damage.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  361
  • Reputation:   10
  • Joined:  12/30/11
  • Last Seen:  

ah so still . . renewal edp will balance the TGK/THANA and IP effects?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  134
  • Reputation:   35
  • Joined:  02/27/12
  • Last Seen:  

Only tests will say.

I didn't check it yet.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  361
  • Reputation:   10
  • Joined:  12/30/11
  • Last Seen:  

btw . . . where should i put thana/ip . . . it should be on left hand right?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  715
  • Reputation:   83
  • Joined:  01/05/12
  • Last Seen:  

I dont know if im wrong i think "Enchant Deadly Poison" is not working in Pre-RE and RE i used r16353 . also i noticed no EDP logo appears in the upper right side of the screen

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  45
  • Reputation:   1
  • Joined:  10/18/12
  • Last Seen:  

where should i put this please help. Having EDP problem to my server.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  102
  • Reputation:   4
  • Joined:  12/05/11
  • Last Seen:  

where should i put this please help. Having EDP problem to my server.

battle.c

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