Page 1 of 1

[committed] StandardMobBrain Aggro VS GamePet

PostPosted: Fri Feb 26, 2010 3:21 am
by Shursan
normally GameNPC don't attack a GamePet if the mob is gray for pet owner, if i'm right.

This patch is tested and work.

Re: StandardMobBrain Aggro VS GamePet

PostPosted: Fri Feb 26, 2010 9:58 am
by Graveen
Thank you Ysia ! :)

Re: StandardMobBrain Aggro VS GamePet

PostPosted: Fri Feb 26, 2010 1:17 pm
by Tolakram
This mod may need to be expanded to include charmed mobs, which are not game pets. Could you do the check for Controlled brain instead?

I wish this was consistent, but the way charm works there is no way to turn a charmed NPC into a game pet and then back to an NPC when released. If someone has a better idea please chime in!

Re: StandardMobBrain Aggro VS GamePet

PostPosted: Fri Feb 26, 2010 1:39 pm
by Shursan
Yes ok, i'll test to expand it and recreate the patch.

Edit :
In fact i have tested with charmed pets (sorcerer) and all is ok, gray mobs don't aggro them.

Can you please test this patch and give me the feedback if there's any problems with your Charmed Pets?

Re: StandardMobBrain Aggro VS GamePet

PostPosted: Fri Feb 26, 2010 1:57 pm
by Oxydean
Excellent idea and work Ysia , thanks a bunch


Oxy ;-)

Re: StandardMobBrain Aggro VS GamePet

PostPosted: Fri Feb 26, 2010 2:04 pm
by Tolakram
Yes ok, i'll test to expand it and recreate the patch.

Edit :
In fact i have tested with charmed pets (sorcerer) and all is ok, gray mobs don't aggro them.

Can you please test this patch and give me the feedback if there's any problems with your Charmed Pets?
Excellent, there must be code in there already to handle it. I trust your testing.

Re: StandardMobBrain Aggro VS GamePet

PostPosted: Fri Feb 26, 2010 5:49 pm
by Graveen
Accepted, Soon in SVN - i have to commit, thank you :)