Jump to content
  • 0

Reduce Damage Normal Attack Use EDP


PapaZola

Question


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

hello how i can make a reduce normal attack if using edp

coz i hit people on pvp use enchant deadly poison skill

49k per hit

thx for the info

#sry for my bad english

Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  754
  • Reputation:   186
  • Joined:  05/22/12
  • Last Seen:  

status.c

 case SC_EDP: // [Celest]
  val2 = val1 + 2; //Chance to Poison enemies.
  val3 = 50*(val1+1); //Damage increase (+50 +50*lv%)
  if( sd )//[ind] - iROwiki says each level increases its duration by 3 seconds
   tick += pc_checkskill(sd,GC_RESEARCHNEWPOISON)*3000;
  break;

if you're on renewal there are additional formulas to be applied

status.c

#ifdef RENEWAL_EDP
// renewal EDP increases your base atk by atk x skill level
if( sc->data[sC_EDP] )
 batk = batk * sc->data[sC_EDP]->val1;
#endif

and

same file

#ifdef RENEWAL_EDP
// renewal EDP increases your weapon atk by watk x Skill Level - 1
if( sc->data[sC_EDP] && sc->data[sC_EDP]->val1 > 1 )
 watk = watk * (sc->data[sC_EDP]->val1 - 1);
#endif

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

thx for reply sir

but which one i can change for reduce normal attack?

can give me example?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

bump

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  592
  • Reputation:   31
  • Joined:  11/14/11
  • Last Seen:  

status.c

 case SC_EDP: // [Celest]
  val2 = val1 + 2; //Chance to Poison enemies.
  val3 = 50*(val1+1); //Damage increase (+50 +50*lv%)
  if( sd )//[ind] - iROwiki says each level increases its duration by 3 seconds
tick += pc_checkskill(sd,GC_RESEARCHNEWPOISON)*3000;
  break;

if you're on renewal there are additional formulas to be applied

status.c

#ifdef RENEWAL_EDP
// renewal EDP increases your base atk by atk x skill level
if( sc->data[sC_EDP] )
 batk = batk * sc->data[sC_EDP]->val1;
#endif

and

same file

#ifdef RENEWAL_EDP
// renewal EDP increases your weapon atk by watk x Skill Level - 1
if( sc->data[sC_EDP] && sc->data[sC_EDP]->val1 > 1 )
 watk = watk * (sc->data[sC_EDP]->val1 - 1);
#endif

why is this not yet applied in the svn??

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  61
  • Reputation:   1
  • Joined:  06/29/12
  • Last Seen:  

thx for reply sir

but which one i can change for reduce normal attack?

can give me example?

if you're on renewal there are additional formulas to be applied

status.c

#ifdef RENEWAL_EDP
// renewal EDP increases your base atk by atk x skill level
if( sc->data[sC_EDP] )
 batk = batk * sc->data[sC_EDP]->val1;
#endif

and

same file

#ifdef RENEWAL_EDP
// renewal EDP increases your weapon atk by watk x Skill Level - 1
if( sc->data[sC_EDP] && sc->data[sC_EDP]->val1 > 1 )
 watk = watk * (sc->data[sC_EDP]->val1 - 1);
#endif

batk = batk * sc->data[sC_EDP]->val1; // (Base ATK)*EDP_Level

watk = watk * (sc->data[sC_EDP]->val1 - 1); //(Weapon_ATK)*EDP_Level-1

You can change like:

watk = watk * (sc->data[sC_EDP]->val1 - 3); //(Weapon_ATK)*EDP_Level-3

Edited by Phantasm
Link to comment
Share on other sites


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

thx for reply sir

but which one i can change for reduce normal attack?

can give me example?

if you're on renewal there are additional formulas to be applied

status.c

#ifdef RENEWAL_EDP
// renewal EDP increases your base atk by atk x skill level
if( sc->data[sC_EDP] )
 batk = batk * sc->data[sC_EDP]->val1;
#endif

and

same file

#ifdef RENEWAL_EDP
// renewal EDP increases your weapon atk by watk x Skill Level - 1
if( sc->data[sC_EDP] && sc->data[sC_EDP]->val1 > 1 )
 watk = watk * (sc->data[sC_EDP]->val1 - 1);
#endif

batk = batk * sc->data[sC_EDP]->val1; // (Base ATK)*EDP_Level

watk = watk * (sc->data[sC_EDP]->val1 - 1); //(Weapon_ATK)*EDP_Level-1

You can change like:

watk = watk * (sc->data[sC_EDP]->val1 - 3); //(Weapon_ATK)*EDP_Level-3

where am i supposed to put this? does this work? on our server EDP + Cross Impact also do superb damage. :o

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

if you dont want to use RENEWAL_EDP then just disable it here..

trunk/src/config/renewal.h

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

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