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-29-2009, 05:05 PM
eqwarrior
Sarnak
 
Join Date: Jul 2009
Location: United States
Posts: 40
Default

I thought about spawning invisible man tactic before. Was hoping there was less of a quick fix that I could implement on all my bosses. The Boss Cast a PB AoE that has 300 Range that does massive damage that the users are trying to avoid. Hmm, mem blur, wonder how that would work or be effective.
Reply With Quote
  #2  
Old 07-29-2009, 05:50 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

I haven't looked at the code yet, but maybe the cast spell commands could just have a bool option added that would make them ignore LoS. Or, if it is an NPC casting from it's own spell list and not from a script, then maybe a new NPC special attack code could be added for unavoidable AEs. It would definitely be a great thing to have both of these options for creating good boss encounters.

Until that happens, maybe you could just have it use the GetRandomClient() quest object to get a random nearby client and then have them actually cast the AE, so it will hit anyone near them. It would probably be hard for a whole raid to hide behind walls from everyone in the raid at all times lol.

I think you just use it like:
Code:
my $MyX = GetX();
my $MyY = GetY();
my $MyZ = GetZ();

my $RandClient = $entity_list->GetRandomClient($MyX, $MyY, $MyY, 100);
Then, use the $RandClient to cast a spell on a timer or something with something like this:

Code:
if ($RandClient){
  my $ClientID = $RandClient->GetID();
  $RandClient->CastSpell(spell_id, $ClientID);
}
I haven't tested that, but I think that would make them cast the spell on themself, which should effect both them and anyone within range/LoS of them.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #3  
Old 07-29-2009, 06:44 PM
Capheus
Hill Giant
 
Join Date: Apr 2008
Location: Milwaukee
Posts: 141
Default

Would be interesting to see if that would work. How would the EMU handle this as the player casting the spell? Would it actually allow hits on other players or would it AE NPCs only?

In UQUA I am using $client_search->CastSpell(5051,$list_check); and to the best of my knowledge it doesn't hit other players.
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 07:35 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