From 4644388a6d358c3fbc8361b287187f42797ca506 Mon Sep 17 00:00:00 2001 From: ErikasKontenis Date: Sun, 11 Apr 2021 11:55:09 +0300 Subject: [PATCH] 7.4 life fluid and mana fluid healiing --- data/actions/scripts/misc/fluids.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/actions/scripts/misc/fluids.lua b/data/actions/scripts/misc/fluids.lua index bf2bd42..4b9281b 100644 --- a/data/actions/scripts/misc/fluids.lua +++ b/data/actions/scripts/misc/fluids.lua @@ -45,10 +45,10 @@ function onUse(player, item, fromPosition, target, toPosition) elseif self and item:getFluidType() == FLUID_SLIME then player:addCondition(poison) elseif item:getFluidType() == FLUID_MANAFLUID then - target:addMana(math.random(50, 100)) + target:addMana(math.random(25, 75)) target:getPosition():sendMagicEffect(CONST_ME_MAGIC_BLUE) elseif item:getFluidType() == FLUID_LIFEFLUID then - target:addHealth(math.random(25, 50)) + target:addHealth(math.random(25, 75)) target:getPosition():sendMagicEffect(CONST_ME_MAGIC_BLUE) end