Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Bug Reports

Development::Bug Reports Post detailed bug reports and what you would like to see next in the emu here.

Reply
 
Thread Tools Display Modes
  #1  
Old 10-15-2012, 02:59 AM
thepoetwarrior
Discordant
 
Join Date: Aug 2007
Posts: 307
Post Npc Special Atk Code "u"

Seems that using the NPC Special Attack Code 'U' to prevent mob from being 'slowed' is also preventing it from self casting this custom buff I made.

Its probably the haste effect (Slot 9 Inc Attack Speed) that is conflicting.



I know, very minor, figured I'd post anyways.

Enjoy!
Reply With Quote
  #2  
Old 10-15-2012, 03:51 AM
Kayen
Developer
 
Join Date: Mar 2009
Location: -
Posts: 228
Default

Slow and Haste are the same spell effect.

Just consider 'U' immune to attack speed changes.

Two ways to get around this.

1) Set your slow mitigation on the NPC to like 99%.

2) Via script you can remove your 'U' then buff your npc, then add your 'U' back.

Kayen
Reply With Quote
  #3  
Old 10-15-2012, 06:34 AM
thepoetwarrior
Discordant
 
Join Date: Aug 2007
Posts: 307
Default

Basic concept of scripted boss fight with custom list of spells is making it always hasting itself through a Yaulp type spell that the players need to cancel magic on the NPC to remove. Generally I have slow disabled on mobs since it breaks the content making it too easy.
Reply With Quote
  #4  
Old 10-15-2012, 06:24 PM
Kayen
Developer
 
Join Date: Mar 2009
Location: -
Posts: 228
Default

This is what you do for your script OR set slow mitigation in your table.

Code:
sub EVENT_TIMER{

if ($timer eq "CastBuff")
{
$npc->NPCSpecialAttacks("f", 0); #Remove U
$npc->CastSpell(15080, $mobid);
$npc->NPCSpecialAttacks("Uf", 0); #Add U
}

}
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:05 PM.


 

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