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>
<span style="color: purple;">rate_exp_pvp</span> = 2 (This one depends from world config and can be checked [//realesta74.net/library/server-info here]).</br>
<span style="color: #D8BFD8;">rate_exp_pvp</span> = 2 (This one depends from world config and can be checked [//realesta74.net/library/server-info here]).</br>
<span style="color: red;">a</span> = attackers level * 0.9</br>
<span style="color: red;">a</span> = attackers level * 0.9</br>
<span style="color: yellow;">b</span> = victims level</br>
<span style="color: yellow;">b</span> = victims level</br>

Revision as of 19:29, 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.