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
In the code, it seems the max HP that's used to calculate healing is determined when the player spawns or changes jobs, which could be good for performance, since you wouldn't need to call the ent:GetMaxHealth() method every time you try to heal someone, but it has no way of updating if the max HP does ever change. Setting up events with that in mind could just involve having someone respawn with a desired max HP, so I guess there's a way around the issue even without changing the code.
Setting ent.var to ent:GetMaxHealth() in the functions does fix this.
Thanks for the great addon!
1. unknown - lua/weapons/weapon_forceheal.lua:117
Can I create my own add-on from your add-on? By that I mean I can take the sounds, models, materials and particles from your add-ons and put it all into an unlisted content pack. Of course without the Lua files @|Riddick
1. Health - [C]:-1
2. unknown - lua/autorun/server/storevar.lua:16