Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
There is a way you can make a serum that cures the later bite, imo a simpler way. Have it add a certain value to that player, like value.time = 10, then add a function that runs EveryHours or EveryDay or something repeating like that. Make that function lower the value that you created by 1. That would simply make a timer that ticks -1 each hour. That settles the timer I believe. Then you just make that same repeating function run a test on player's health and see if he got bitten or just infected. Then if it registers isInfected as true, make it remove the infection if value.time > 0 for example. Now of course you can add more values to represent some chance of that happening and many other variables.
That seems much simpler to me than using the player data and stuff. I mean.. it's just the way I'd do that stuff. Good luck figuring out what works for you ;)