PVP-enforced exp formula and restrictions: Difference between revisions

From Realesta Wiki
Jump to: navigation, search
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
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]).</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>
<span style="color: white;">c</span> = victims experience
<span style="color: white;">c</span> = victims experience


<span style="color: #8fd694;">result</span> = (1 - (a / b)) * 0.05 * c
<span style="color: #8fd694;">result</span> = (1 - (<span style="color: red;">a</span> / <span style="color: yellow;">b</span>)) * 0.05 * <span style="color: white;">c</span></br>
 
<span style="color: #8fd694;">result</span> * <span style="color: #D8BFD8;">rate_exp_pvp</span>
<span style="color: #8fd694;">result</span> * 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 <b>30</b>.

Latest revision as of 19:30, 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.