1
0

Fix sending incorrect date values on world change

Yak shave: make more things use cTickTime. Fix a couple of incorrect modulo-on-millisecond-value by making them use WorldTickAge.
This commit is contained in:
Tiger Wang
2021-04-05 01:38:43 +01:00
parent a2a2226179
commit 4cd49d7eca
37 changed files with 322 additions and 198 deletions

View File

@@ -9138,24 +9138,6 @@ a_Player:OpenWindow(Window);
},
Notes = "Returns the relative walk speed of this mob. Standard is 1.0",
},
GetSpawnDelay =
{
IsStatic = true,
Params =
{
{
Name = "MobFamily",
Type = "cMonster#eFamily",
},
},
Returns =
{
{
Type = "number",
},
},
Notes = "Returns the spawn delay - the number of game ticks between spawn attempts - for the specified mob family.",
},
HasCustomName =
{
Returns =
@@ -11392,10 +11374,6 @@ a_Player:OpenWindow(Window);
},
Constants =
{
EATING_TICKS =
{
Notes = "Number of ticks required for consuming an item.",
},
MAX_FOOD_LEVEL =
{
Notes = "The maximum food level value. When the food level is at this value, the player cannot eat.",