polserver / ModernDistro

Package of scripts and configs needed to run POL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hunger

andrtechno opened this issue · comments

Is it normal when I have a Hunger 0/100 then I'm full?

Time reduces Hunger And eating Food also reduces Hunger something is wrong here

I will look into it when I have time.

I am doing some modifications to the hunger system. I never liked the "negative logic" where a value of 0 meant the player was not hungry and a value of 10 meant the player was starving. To me, it should be reversed. So, that's what I am doing. Also, hunger will affect stamina regen rate. This rewrite will involve multiple scripts.

I agree with you

The new hunger system is in. Please read the commit notes for more info.

oh need to remove the props yourself %RegenRates%

noticed a typo "HungerPID" "HungeerPID" duble "ee"
and "print" in text command ".hunger" I think it needs to be removed

Fixed the typo and removed the Print().

SkillCheck()

pass_chance -= CInt( hunger_value + CDbl( hunger_value * CDbl( hunger / 10 )));

I think this formula needs to be revised. @Admin-Yukiko

What do you suggest? I am open to any help when it comes to these types of formulae. :) @andrtechno

it doesn't matter if the character is full or hungry
pass_chance does not decrease

Strange. It should. I'll look into it when I am not tired. :)
Thanks.