1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2026-06-20 16:32:28 +02:00

Merge pull request #159 from ComfyFactory/rpg_fish_heal

rpg - fish heal
This commit is contained in:
Gerkiz
2021-11-08 19:23:11 +01:00
committed by GitHub
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -508,7 +508,7 @@ function Public.get_heal_modifier_from_using_fish(player)
end
local base_amount = 80
local rng = random(base_amount, base_amount * 4)
local rng = random(base_amount, base_amount * rpg_extra.heal_modifier)
local char = player.character
local position = player.position
if char and char.valid then
+1
View File
@@ -94,6 +94,7 @@ function Public.reset_table()
this.rpg_extra.reward_new_players = 0
this.rpg_extra.level_limit_enabled = false
this.rpg_extra.global_pool = 0
this.rpg_extra.heal_modifier = 2
this.rpg_extra.personal_tax_rate = 0.3
this.rpg_extra.leftover_pool = 0
this.rpg_extra.turret_kills_to_global_pool = true