SphereServer BugTracker - SphereServer
View Issue Details
0002026SphereServerexecutable - windows buildpublic02-09-11 20:3515-09-11 01:53
Sadus 
 
normalmajoralways
closedno change required 
WIN7
 
 
Automated (specify build number)
None
None
0002026: TAG.OVERRIDE.REGENVAL_$statid
TAG.OVERRIDE.REGENVAL_$statid not work properly
If i set TAG.OVERRIDE.REGENVAL_0=10 its not regen every 10sec like said in Sphere.ini
No tags attached.
Issue History
02-09-11 20:35SadusNew Issue
02-09-11 20:53ShiryuXNote Added: 0001235
03-09-11 00:06SadusNote Added: 0001236
03-09-11 03:36ShiryuXNote Added: 0001237
15-09-11 01:53MrSugarCubeNote Added: 0001264
15-09-11 01:53MrSugarCubeStatusnew => closed
15-09-11 01:53MrSugarCubeResolutionopen => no change required

Notes
(0001235)
ShiryuX   
02-09-11 20:53   
REGENVAL_%d is the AMOUNT to regen, not the TIME delay.
(0001236)
Sadus   
03-09-11 00:06   
Sorry, my mistake, TAG.OVERRIDE.REGEN_$statid work not properly.
(0001237)
ShiryuX   
03-09-11 03:36   
rate = .ini
if ( food = 0 )
  rate *= 2
rate -= tag.override

That's the formula.
(0001264)
MrSugarCube   
15-09-11 01:53   
TAG.OVERRIDE.REGEN_$statid and TAG.OVERIDE.REGENVAL_$statid are actually modifiers that are applied to the settings in sphere.ini, not full overrides (REGEN is subtracted, REGENVAL is added).

Therefore, TAG.OVERRIDE.REGEN_0=10 will actually subtract 10 seconds from the normal regeneration time (and REGENVAL_0=10 will cause 11hp to be gained).