Jump to content
  • 0

I broke the hunter trap damage somehow


Blahguy

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  12/25/16
  • Last Seen:  

I've made significant changes to skills in the game, but have not touched the traps in battle.c. DEX seems to be adding an absurd amount of damage to traps while INT adds the normal amount. Has anyone run into this problem before and can help me pinpoint something else that might be affecting them?

Here is my battle.c for traps:
        case MA_LANDMINE:
            md.damage = skill_lv * (sstatus->dex + 75) * (100 + sstatus->int_ / 100);
            break;
        case HT_BLASTMINE:
            md.damage = skill_lv * (sstatus->dex / 2 + 50) * (100 + sstatus->int_ / 100);
            break;
        case HT_CLAYMORETRAP:
            md.damage = skill_lv * (sstatus->dex / 2 + 75) * (100 + sstatus->int_ / 100);
            break;

After some more testing, each point of DEX seems to add 500 damage to Land Mine while INT only adds damage in multiples of 100. A level 5 Land Mine with 66 DEX and 6 INT deals 70,500 damage to a Poring. Raising the INT to 100 added 700 damage to Land Mine, but only once INT was 100 and nothing in between.

Edited by pikachue
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  141
  • Reputation:   45
  • Joined:  08/14/12
  • Last Seen:  

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  12/25/16
  • Last Seen:  

They look identical to me.

Edit: I see it now. Thanks

Edited by pikachue
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...