EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   Using a quest to change special_abilities on an NPC (https://www.eqemulator.org/forums/showthread.php?t=39384)

Nibiuno 02-18-2015 09:21 AM

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.

Nibiuno 02-18-2015 09:45 AM

Nevermind.

Had to put the values in "" like this:

e.self:ModifyNPCStat("special_abilities", "1,1^5,1^20")


All times are GMT -4. The time now is 06:28 PM.

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