Jump to content
  • 0

Help Mattack/Magic damage.


sotid
 Share

Question

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

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0
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
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disbaled AdBlock