Fixes for Last Moved (#194)
This commit is contained in:
parent
3a081d5322
commit
b476bcfd24
28 changed files with 155 additions and 398 deletions
|
|
@ -171,10 +171,7 @@ namespace Server.Misc
|
|||
if (from.Meditating)
|
||||
rate *= 0.5;
|
||||
|
||||
if (rate < 0.5)
|
||||
rate = 0.5;
|
||||
else if (rate > 7.0)
|
||||
rate = 7.0;
|
||||
rate = Math.Clamp(rate, 0.5, 7.0);
|
||||
}
|
||||
|
||||
return TimeSpan.FromSeconds(rate);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue