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 02-18-2015, 09:21 AM
Nibiuno
Hill Giant
 
Join Date: Mar 2010
Posts: 101
Default Using a quest to change special_abilities on an NPC

Is it possible to change the special_abilities a NPC has during a fight on a timer? Ive tried a few different ways in LUA and nothing is working.

Id like to be able to make a NPC immune to magic or melee based on a timer or proximity.
Reply With Quote
  #2  
Old 02-18-2015, 09:45 AM
Nibiuno
Hill Giant
 
Join Date: Mar 2010
Posts: 101
Default

Nevermind.

Had to put the values in "" like this:

e.self:ModifyNPCStat("special_abilities", "1,1^5,1^20")
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 04: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