Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 07-05-2009, 07:57 PM
Dibalamin
Hill Giant
 
Join Date: Dec 2007
Posts: 182
Default making a mob ignore someone with a certain buff

Ok, I'm trying to script something and I have no idea if it is possible. I'm trying to get a mob to ignore people that are affected by a spell he casts.

I see that $mob->FindBuff(spellid) but I'm not sure how to make it work the way I need it. After he casts, i want him to review all possible players in range, suspend the players that have the debuff on the hate list, and then change targets to someone that doesn't have the buff. If all players have the debuff, I still want him to change targets.

Basically, I'm trying to recreate the effect of fear to suspend the mobs attack on someone feared and hit the people that weren't feared.
__________________
Retired EMarr
Project1999 Developer
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 09:41 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3