Jump to content
  • 0

Reduce Damage Normal Attack Use EDP


Question

7 answers to this question

Recommended Posts

Posted

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

Posted

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

Posted (edited)

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
Posted

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

Posted

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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...