1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-11-25 22:32:18 +02:00

Mtn: push fixes for datastore fetch

This commit is contained in:
Gerkiz
2024-10-27 09:44:09 +01:00
parent a9d594805f
commit c979d61711
4 changed files with 28 additions and 28 deletions

View File

@@ -1114,6 +1114,7 @@ end
function Public.get_mana_modifier(player)
local rpg_t = Public.get_value_from_player(player.index)
if not rpg_t then return end
if rpg_t.level <= 40 then
return (rpg_t.magicka - 10) * 0.02000
elseif rpg_t.level <= 80 then