mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-21 17:52:25 +00:00
Merge branch 'master' of https://github.com/EQEmu/Server
This commit is contained in:
commit
e12b06a9ad
@ -2,6 +2,7 @@ EQEMu Changelog (Started on Sept 24, 2003 15:50)
|
||||
-------------------------------------------------------
|
||||
|
||||
== 03/14/2013 ==
|
||||
JJ: (NatedogEZ) Fix for hate list random never selecting last member of hate list.
|
||||
Bad_Captain: Fixed Merc spell recast timers.
|
||||
Bad_Captain: Changed how Mercs add mobs to their hate lists (should prevent IsEngaged() issues).
|
||||
Bad_Captain: Initial Caster DPS Merc spell casting AI, including initial Merc stance implementation.
|
||||
|
||||
@ -439,7 +439,7 @@ Mob *HateList::GetRandom()
|
||||
|
||||
int random = MakeRandomInt(0, count-1);
|
||||
iterator.Reset();
|
||||
for (int i = 0; i < random-1; i++)
|
||||
for (int i = 0; i < random; i++)
|
||||
iterator.Advance();
|
||||
return iterator.GetData()->ent;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user