PVP-enforced exp formula and restrictions: Difference between revisions

From Realesta Wiki
Jump to: navigation, search
No edit summary
No edit summary
Line 1: Line 1:
<span style="font-size:140%;"><b>Formula:</b></span></br>
<span style="font-size:140%;"><b>Formula:</b></span></br>
rate_exp_pvp = 2 (This one depends from world config and can be checked [//realesta74.net/library/server-info here]).
rate_exp_pvp = 2 (This one depends from world config and can be checked [//realesta74.net/library/server-info here]).</br>
a = attackers level * 0.9
<span style="color: red;">a</span> = attackers level * 0.9</br>
b = victims level
<span style="color: yellow;">b</span> = victims level</br>
<span style="color: white;">c</span> = victims experience
<span style="color: white;">c</span> = victims experience


result = (1 - (a / b)) * 0.05 * c
<span style="color: #8fd694;">result</span> = (1 - (a / b)) * 0.05 * c
 
<span style="color: #8fd694;">result</span> * rate_exp_pvp
----


result * rate_exp_pvp


<span style="font-size:140%;"><b>Restrictions::</b></span></br>
<span style="font-size:140%;"><b>Restrictions::</b></span></br>
 
- Attacker's level comparing to victim's level cannot be higher than <b>30</b>.
-Attacker's level comparing to victim's level cannot be higher than 30.

Revision as of 19:28, 17 January 2025

Formula:
rate_exp_pvp = 2 (This one depends from world config and can be checked here).
a = attackers level * 0.9
b = victims level
c = victims experience

result = (1 - (a / b)) * 0.05 * c

result * rate_exp_pvp



Restrictions::
- Attacker's level comparing to victim's level cannot be higher than 30.