EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Bug Reports (https://www.eqemulator.org/forums/forumdisplay.php?f=591)
-   -   Npc Special Atk Code "u" (https://www.eqemulator.org/forums/showthread.php?t=35873)

thepoetwarrior 10-15-2012 02:59 AM

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.

http://i49.tinypic.com/30lkkg1.png

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

Enjoy!

Kayen 10-15-2012 03:51 AM

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

thepoetwarrior 10-15-2012 06:34 AM

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.

Kayen 10-15-2012 06:24 PM

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
}

}



All times are GMT -4. The time now is 07:14 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.