Jump to content
  • 0

Normal Attack


waaa123

Question


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  11/09/12
  • Last Seen:  

hello how can i increase the normal attack damage of sniper ? TIA

Edited by waaa123
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  811
  • Reputation:   233
  • Joined:  01/30/13
  • Last Seen:  

"or sniper" or "of sniper"?

Anyway, there are tons of possibilties to modify damage, depends on how the damage should work...

Generally you find everything in battle.c

static struct Damage battle_calc_weapon_attack(struct block_list *src, struct block_list *target, uint16 skill_id, uint16 skill_lv, int wflag)

At any point in that function after:

wd = battle_calc_skill_base_damage(wd, src, target, skill_id, skill_lv); // base skill damage

You modify the damage.

If it's a normal attack then skill_id is 0.

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