Unlimit scaling with arrow storm

AphrRO

New member
Messages
2
Points
0
Github
AphrRO
I would like to change Unlimit skill with Rangers to not scale with Arrow Storm. How would I go about doing something like this?

 
I'm not sure if this will fix it, but i'm pretty sure it will. This isn't tested, so be sure to make a copy of the file before making any changes (for backup purposes).

Find the below in src/map/battle.c

if( sc && skill_id != PA_SACRIFICE && sc->data[SC_UNLIMIT] && (wd.flag&(BF_LONG|BF_MAGIC)) == BF_LONG) { switch(skill_id) { case RA_WUGDASH: case RA_WUGSTRIKE: case RA_WUGBITE: break; default: ATK_ADDRATE( 50 * sc->data[SC_UNLIMIT]->val1 ); } }

and add the case for RA_ARROWSTORM:, should look like this:

if( sc && skill_id != PA_SACRIFICE && sc->data[SC_UNLIMIT] && (wd.flag&(BF_LONG|BF_MAGIC)) == BF_LONG) { switch(skill_id) { case RA_WUGDASH: case RA_WUGSTRIKE: case RA_WUGBITE: case RA_ARROWSTORM: break; default: ATK_ADDRATE( 50 * sc->data[SC_UNLIMIT]->val1 ); } }

This should tell the server to not increase the damage output for having RA_UNLIMIT skill active.

Save and Recompile. Again, this is untested, so I'm not sure if it will work.

 
i done this but still no effect unlimit skill , no add damage on arrow storm , only ordinary attack that is increased,

 
Back
Top