Jump to content
  • 0

How to reduce asura strike damage?


Question

Posted

Hi sir/mam how to reduce asura strike damage SP limit is 6k? 

 

here's my code in battle c.

i dunno if this working or not?

 

case MO_EXTREMITYFIST:

if(sstatus->sp <= 6000)
skillratio += 100 * (7 + sstatus->sp / 10);
else // Asura strike SP damage max is 6k
skillratio += 100 * (7 + 6000 / 10);
if (tsd)
skillratio /= 2; //Half damage for players
skillratio = min(500000,skillratio); //We stop at roughly 50k SP for overflow protection
break;

9 answers to this question

Recommended Posts

  • 0
Posted (edited)

Or you can try use: 

skill_damage_db.txt

 

must activate that db from:
src/config/core.h

Find and enable(when enable save and recompile): 

/// Uncomment to enable skills damage adjustments
/// By enabling this, db/skill_damage.txt and the skill_damage mapflag will adjust the
/// damage rate of specified skills.
//#define ADJUST_SKILL_DAMAGE
Edited by Helly
  • Love 1
  • 0
Posted

 

Or you can try use: 

skill_damage_db.txt

 

must activate that db from:

src/config/core.h

Find and enable(when enable save and recompile): 

/// Uncomment to enable skills damage adjustments
/// By enabling this, db/skill_damage.txt and the skill_damage mapflag will adjust the
/// damage rate of specified skills.
//#define ADJUST_SKILL_DAMAGE

He's asking about SP damage.

 

Try this

 

case MO_EXTREMITYFIST:
if(sstatus->sp <= 6000)
skillratio += 100 * (7 + sstatus->sp / 10);
else // Asura strike SP damage max is 6k
skillratio += 100 * (7 + 6000 / 10);
skillratio = min(500000,skillratio); //We stop at roughly 50k SP for overflow protection
break;

If you want to test if it's working try. Make one champion with 6K SP and another one with over 6K SP. If the damage is the same, then it's working.

  • 0
Posted

Try this

 

Find in battle.c

case MO_EXTREMITYFIST:
skillratio += 100*(7 + sstatus->sp/10);
skillratio = min(500000,skillratio); //We stop at roughly 50k SP for overflow protection
break;

Change:

skillratio += 100*(7 + sstatus->sp/10);

To:

skillratio += 100*(7 + min(sstatus->sp,6000)/10);
  • Upvote 1
  • 0
Posted

 

 

Or you can try use: 

skill_damage_db.txt

 

must activate that db from:

src/config/core.h

Find and enable(when enable save and recompile): 

/// Uncomment to enable skills damage adjustments
/// By enabling this, db/skill_damage.txt and the skill_damage mapflag will adjust the
/// damage rate of specified skills.
//#define ADJUST_SKILL_DAMAGE

He's asking about SP damage.

 

Try this

 

case MO_EXTREMITYFIST:
if(sstatus->sp <= 6000)
skillratio += 100 * (7 + sstatus->sp / 10);
else // Asura strike SP damage max is 6k
skillratio += 100 * (7 + 6000 / 10);
skillratio = min(500000,skillratio); //We stop at roughly 50k SP for overflow protection
break;

If you want to test if it's working try. Make one champion with 6K SP and another one with over 6K SP. If the damage is the same, then it's working.

 

Not working either

Maybe i should change this??

battle c. 

static int battle_calc_attack_skill_ratio(struct Damage wd, struct block_list *src,struct block_list *target,uint16 skill_id,uint16 skill_lv)
{
	struct map_session_data *sd = BL_CAST(BL_PC, src);
	struct map_session_data *tsd = BL_CAST(BL_PC, src);

 

Try this

 

Find in battle.c

case MO_EXTREMITYFIST:
skillratio += 100*(7 + sstatus->sp/10);
skillratio = min(500000,skillratio); //We stop at roughly 50k SP for overflow protection
break;

Change:

skillratio += 100*(7 + sstatus->sp/10);

To:

skillratio += 100*(7 + min(sstatus->sp,6000)/10);

Not working. 

  • 0
Posted (edited)

well the simply way that i do to reduce damage in some skills was reduce The SP and HP of thats jobs in here https://github.com/rathena/rathena/blob/master/db/re/job_basehpsp_db.txtso thats jobs get less SP i did to reduce damage and balance jobs like Sura Tiger Cannon and Rune Knight Dragon Breath i have done it about 5 years ago x.x i dont remeber the fully steps but you can try :)

Edited by Helly

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