 |
 |
 |
 |
| Author |
Message |
Xandros
Joined: 17 Feb 2006 Posts: 76
|
Posted: Sun Feb 26, 2006 1:47 pm Post subject: Vital regeneration problem, POL096-2006-01-18 |
|
|
Hi,
vital regeneration timers seem to be reset every time the character
switches into war mode or out of war mode, everytime the character
is taking damage in our hitscript, and under several other
circumstances, which I can't exactly identify.
E.g. lets say the character gains one stamina point every 5 seconds.
Now to test this, wait for the moment when you gain a point, then wait 3
seconds and switch to war mode. It then takes another full 5 seconds
until you gain the next point. Regeneration can also be blocked for a
longer time period, as long as you keep switching between war
mode and peace mode every few seconds. This applies to hitpints,
stamina, mana, all the vitals...
I'd prefer if the core wouldn't do that, it leads to problems on our
shard especially with stamina, where players with stamina 0 keep
getting wounded by other creatures and can't regenerate it, and
are stuck in the place until they're killed.
If someone really thinks this timer reset is of some use, maybe
a function ResetRegenTimer(vitalname) or something like that
could be introduced instead of hardcoding it.
Xandros |
|
 |
|
|
 |
 |
|