Jump to content
  • 0

Skill: Soul Breaker (Soul Destroyer) Only Int (Matk)


gamka

Question


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.01
  • Content Count:  29
  • Reputation:   0
  • Joined:  10/11/20
  • Last Seen:  

 

Good day to all, dear users! I'm currently working on the server, or rather reworking the balance of professions and builds, and faced the question of how to make the Soul Breaker (Soul Destroyer) skill completely dependent on int and matk? Thanks a lot in advance.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  12
  • Reputation:   3
  • Joined:  08/02/19
  • Last Seen:  

Hello ! I'm just a newbie learning. I was reading a bit about src and found somethings may do what you want...

 

need some test and stuff, but if you want to you can try this:

 

src/map/battle.c

#ifndef RENEWAL
    if (skill_id == ASC_BREAKER) { //Breaker's int-based damage (a misc attack?)
        struct Damage md = battle_calc_misc_attack(src, target, skill_id, skill_lv, wd->miscflag);

        wd->damage += md.damage;

to

#ifndef RENEWAL
    if (skill_id == ASC_BREAKER) { //Breaker's int-based damage (a misc attack?)
        struct Damage md = battle_calc_misc_attack(src, target, skill_id, skill_lv, wd->miscflag);

        wd->damage = md.damage;

 

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