Jump to content
  • 0

No Damage When Player Has No Mp


GameBlonD

Question

hi ,

 

 

The problem is when a player spam Deadly blow(for example)  and get the message Not Enough MP and together spam Attack the result is NO damage no message nothing the only message is : Not Enough MP

Edited by GameBlonD
Link to comment
Share on other sites

Recommended Posts

  • 0

So i checked l2j last revisions and they use the same code... i dont know if this bug happens and inside the game maybe i test it later.

So the problem is  here:

        if (getCurrentMp() < getStat().getMpConsume(skill) + getStat().getMpInitialConsume(skill) && !isAttackingNow())

I added !isAttackingNow  and now it does ->one skill - auto attack player dead but he does skill with 0 mp :P

 

I will try to improve it somehow if some1 has a way let me know.

 

seperate the autoattack and the skill.. thats the first thing that came into my mind as spaggheti mastah

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...