Quote:
Originally Posted by Backstabnoob
How is that done?
Does it give you instantly 100 HP, or is it healing you for example for 5hp/sec?
|
1 HP per second, and there is a cvar for how much HP you should get per second.
Quote:
Originally Posted by ConnorMcLeod
What kind of healer ?
Map healer ?
Plugin healer ?
I guess you have to fix your necro plugin.
|
And I don't know what you mean by fixing the blockmaker, I haven't touched the healer code, nor made anything that should harm the healing block.
You can read on the Blockmaker 4.01 thread how it works if you don't know what the healing block does.
PHP Code:
actionHeal(id)
{
if (halflife_time() >= gfNextHealTime[id])
{
new hp = get_user_health(id);
new amount = floatround(get_cvar_float("bm_healamount"), floatround_floor);
new sum = (hp + amount);
if (sum < 100)
{
set_user_health(id, sum);
}
else
{
set_user_health(id, 100);
}
gfNextHealTime[id] = halflife_time() + 0.5;
}
}
__________________