Simplified the use of roamboxes and improved the AI for roambox pathing

This commit is contained in:
Akkadius
2019-08-16 03:25:34 -05:00
parent c149e6ca5f
commit 05e7c473df
22 changed files with 638 additions and 245 deletions
+3 -3
View File
@@ -2789,10 +2789,10 @@ void Mob::WipeHateList()
}
}
uint32 Mob::RandomTimer(int min,int max) {
uint32 Mob::RandomTimer(int min, int max)
{
int r = 14000;
if(min != 0 && max != 0 && min < max)
{
if (min != 0 && max != 0 && min < max) {
r = zone->random.Int(min, max);
}
return r;