mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-29 00:18:18 +00:00
Simplified the use of roamboxes and improved the AI for roambox pathing
This commit is contained in:
+3
-3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user