View Full Version : Npc Special Atk Code "u"
thepoetwarrior
10-15-2012, 02:59 AM
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.
sub EVENT_TIMER{
if ($timer eq "CastBuff")
{
$npc->NPCSpecialAttacks("f", 0); #Remove U
$npc->CastSpell(15080, $mobid);
$npc->NPCSpecialAttacks("Uf", 0); #Add U
}
}
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.