Jump to content
  • 0

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


Question

Posted

 

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.

1 answer to this question

Recommended Posts

  • 0
Posted

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;

 

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