Jump to content
  • 0

Modifying skill damage


Question

Posted

I'd like to take the skill Crimson Rock (2800% MATK damage) and change it to 1400% ATK damage and 1400% MATK damage. I know how to lower the MATK value, but how do I add the ATK?

Thanks.

3 answers to this question

Recommended Posts

Posted

battle.c

struct Damage battle_calc_magic_attack

   #ifdef RENEWAL
 ad.damage = skill_lv * (sstatus->matk_min + sstatus->matk_max);
   #else
 ad.damage = status_get_lv(src) + sstatus->int_ + skill_lv * 10;

modify it to be something like

if( skill_num == WL_CRIMSONROCK )
{
    ad.damage = .... atk/2 + matk/2
}

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