Jump to content
  • 0

Dragons BREATH


DemonChuck

Question


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  61
  • Reputation:   0
  • Joined:  10/14/12
  • Last Seen:  

Can Someone Help me How To Reduce Dragons Breath
i need to know how with explanation please.....
 

    case RK_DRAGONBREATH:
        md.damage = ((status_get_hp(src) / 50) + (status_get_max_sp(src) / 4)) * skill_lv;
        RE_LVL_MDMOD(150);
        if (sd) md.damage = (int64)md.damage * (100 + 5 * (pc_checkskill(sd,RK_DRAGONTRAINING) - 1)) / 100;
        md.flag |= BF_LONG|BF_WEAPON;
        break;

Need Help I want To Reduce it 25% :(
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   13
  • Joined:  06/20/12
  • Last Seen:  

put a

md.damage = (md.damage / 4) * 3;

before break;

 

 

but I think it would be easier to you edit skill_damage_db.txt

 

http://svn.code.sf.net/p/rathena/svn/trunk/db/skill_damage_db.txt

Edited by PcPocket
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  61
  • Reputation:   0
  • Joined:  10/14/12
  • Last Seen:  

So it will look like this??

 

    case RK_DRAGONBREATH:

 

        md.damage = ((status_get_hp(src) / 50) + (status_get_max_sp(src) / 4)) * skill_lv;

 

        RE_LVL_MDMOD(150);

 

  if (sd) md.damage = (int64)md.damage * (100 + 5 * (pc_checkskill(sd,RK_DRAGONTRAINING) - 1)) / 100;

 

 md.flag |= BF_LONG|BF_WEAPON;

md.damage = (md.damage / 4) * 3;

 

before break;

And BTW i dont have Skill_damage_DB inside my db folder
i already check it on my re and pre_re folder i dont see db like that

thx for ur reply gonna test it.

 

 

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