PDA

View Full Version : Using a quest to change special_abilities on an NPC


Nibiuno
02-18-2015, 09:21 AM
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")