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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 04-03-2009, 11:46 PM
Dibalamin
Hill Giant
 
Join Date: Dec 2007
Posts: 182
Default

Thanks Reality, that helps a ton actually....

GetHateTop is on the $mob list, I'm trying to have one mob get the hate top of the list of another mob & cast a spell on it but not aggro...before I drive myself any crazier...is this even possible? I've been on this for a while now and can't get it rolling.

I see similar things in the linking of mobs in TOV (Like Eashen)....and I think I found the code in Sentry Rotiart, but I am not sure how to modify it to cast a spell instead of attacking:

Code:
    
    my $attack = $entity_list->GetMobID(mobid);
    my $traitorattack = $attack->CastToNPC();
    $traitorattack->AddToHateList($client, 1);
$traitorattack->CastSpell(spellid, $client);
in this case, doesn't work..

Code:
my $attack=$entity_list->GetHateTop();
my $traitorattack=$attack->CastToNPC();
$tratorattack->CastSpell(spellid,$client);
I'm grasping at straws here, I'm missing some small piece of how all this fits together.
Reply With Quote
 


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 11:04 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3