Skip to content

Mattack/Magic damage.

Featured Replies

l2jfrozen 1004 |interlude.

 

Hello , happy new year.


Example , if I have 4k m attack , I do 1000 damage. If I have 8k m attack I do 1500 damage instead of 2000.

 

How can I fix the magical damage being increased or decreased 100% from m attack. Right now its 50%.
 

  • Author
3 hours ago, StinkyMadness said:

You really want to "deal" with Frozen formulas? xD

No I dont really want to cause my knowledge on java is minimal and dont want to break something but in every interlude server when it comes to pvp the higher def is always better than highter m attack. I will make it more balance like that. Also frozen has a ton of damage modifiers so its gonna be piece of cake:)

 

2 hours ago, Pamela32 said:

check at formulas .. take your time and u will understand ...

I took my time , thank stinkymadness and you .
This is the line I need/will need to modify , I did some random changes for test and it works.

 

double damage = 91 * Math.sqrt(mAtk) / mDef * skill.getPower(attacker) * calcSkillVulnerability(target, skill);

 

Thanks you can lock it.

Edited by sotid

14 minutes ago, sotid said:

Math.sqrt(mAtk)

This is your 'disproportion'. =)

  • Author
2 minutes ago, SweeTs said:

This is your 'disproportion'. =)

oh yea I already figured it out:) thanks sweets!

Edited by sotid

  • SweeTs locked this topic
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.