Daenks/Meridian59_103 — pull request #804 by skittles1 (2014-12-26 19:49:22+00:00)
Title: Fix bugs in SetMaster target handling.

The ResetMonsterChasers message called by entering a room was masking bugs caused by SetMaster adding and removing targets but not correctly handling the piMonsterChasers property in Player used to keep track of how many mobs are chasing a player. That call was removed in the last hotfix as it was causing issues with multiple aggro on room entry with the faster movement timers and upgraded aggro code. SetMaster now handles target switching correctly by calling TargetSwitch or EnterStateWait which perform the appropriate checks before adding or removing a target.

Also modified SomethingMoved in brain.kod to take the correct action when the mob is in STATE_LIMBO rather than just print a debug string. If the monster hasn't been killed (i.e. still has an owner) it will return to action via entering STATE_MOVE, otherwise this will just return and not attempt any other actions the monster cannot take anyway.