Hello, I have a question, the vitality calculation includes exp rated?
If this is correct:
Vitality Points Consumed =
( ( (Exp) / (Level^2) )*100 ) / 9
Exp = Base exp gained from mob
Level = Mob level
To understand me better, when server calculate the vitality points that is lost in every mob we kill, it counts the exp base of the mob (1000 for example) or rated (5000 in a 5x)?
Thank you!
Question about vitality calculation
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- Raikkon35
- Posts: 178
- Joined: Sat Mar 08, 2008 2:54 pm
Re: Question about vitality calculation
I tried with exaggerated rates, and it seems the server calculates the experience not rated.
This may be a bug, but can be easily solved with RateVitalityLost/Gain.
This may be a bug, but can be easily solved with RateVitalityLost/Gain.
- UnAfraid
- L2j Veteran
- Posts: 4199
- Joined: Mon Jul 23, 2007 4:25 pm
- Location: Bulgaria
- Contact:
Re: Question about vitality calculation
com.l2jserver.gameserver.model.actor.L2Npc.getExpReward()
Its rated yes
There is another multiplier about that you can check it here
http://trac.l2jserver.com/browser/branc ... erties#L65
Its rated yes
There is another multiplier about that you can check it here
http://trac.l2jserver.com/browser/branc ... erties#L65
- Raikkon35
- Posts: 178
- Joined: Sat Mar 08, 2008 2:54 pm
Re: Question about vitality calculation
The strange thing is that, with the exp rate set to 500000x, the vitality bar is reduced the same as 1x, at least at first appearance.
Thank you for your response
Thank you for your response

- sam.jr
- Posts: 258
- Joined: Wed Feb 02, 2011 6:23 am
- Location: Russia
Re: Question about vitality calculation
Cz in l2j vitality rate based on damage. Not that formula. Try hit another mob(with diff HP) and you can see difference.
== ==
- Raikkon35
- Posts: 178
- Joined: Sat Mar 08, 2008 2:54 pm
Re: Question about vitality calculation
I will try it, but it seems very extrange, the formula that I posted is the retail, thank you 
