Jump to content

Question

Posted

i like to make cross impact damage stack if used edp

i already make like this

#else
case AS_SONICBLOW:
case ASC_BREAKER:
case GC_COUNTERSLASH:
case GC_CROSSIMPACT:

but when i used EDP skill the damage still up

i like to make edp no effect for cross impact skill

4 answers to this question

Recommended Posts

Posted

If you want EDP to not efect cross impact, remove GC_CRSSIMPACT from the list

if( sc->data[sC_EDP] ){
  // FIX ME: Should Rolling Cutter be affected by EDP?
   switch(skill_num){
 case AS_SPLASHER:	   case AS_VENOMKNIFE:
 case AS_GRIMTOOTH: case GC_ROLLINGCUTTER:
 break;
#ifndef RENEWAL_EDP
 case ASC_BREAKER:	   case ASC_METEORASSAULT: break;
#else
 case AS_SONICBLOW:
 case ASC_BREAKER:
 case GC_COUNTERSLASH:
  ATK_RATE(50); // only modifier is halved but still benefit with the damage bonus
  break;
#endif
 default:

Posted

Did you get what this switch was doing ??

If you want EDP to have no effect in cross impact you have to ADD it ! by default (so when nothing said) we add val3 atk.

(you should add it near the 1st case where there is just break following.

Here should fix it :

if( sc->data[sC_EDP] ){
  // FIX ME: Should Rolling Cutter be affected by EDP?
       switch(skill_num){
        case AS_SPLASHER:         case AS_VENOMKNIFE:
        case AS_GRIMTOOTH: case GC_ROLLINGCUTTER:
        case GC_CROSSIMPACT:
        break; //the previous skills wont be affected by edp
#ifndef RENEWAL_EDP
        case ASC_BREAKER:         case ASC_METEORASSAULT: break;
#else
        case AS_SONICBLOW:
        case ASC_BREAKER:
        case GC_COUNTERSLASH:
         ATK_RATE(50);
         break; //the previous skill will have their dmg halved
#endif
        default:
ATK_ADDRATE(sc->data[sC_EDP]->val3);

Here I even add you some comment so I hope it may help you.

btw I hate this comment : "// only modifier is halved but still benefit with the damage bonus"

cause it ABSOLUTLY FALSE from the current state. for that comment to be true will have either to remove the break: atfer "ATK_RATE(50)", or add the ATK_ADD before it again..

tsss and they say documentation ain't important...

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