mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Adjust xp gains
This commit is contained in:
@ -886,7 +886,7 @@ impl Server {
|
|||||||
// TODO: Discuss whether we should give EXP by Player Killing or not.
|
// TODO: Discuss whether we should give EXP by Player Killing or not.
|
||||||
attacker_stats.exp.change_by(
|
attacker_stats.exp.change_by(
|
||||||
entity_stats.health.maximum() as f64 / 10.0
|
entity_stats.health.maximum() as f64 / 10.0
|
||||||
* entity_stats.level.level() as f64,
|
+ entity_stats.level.level() as f64 * 10.0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user