Thread: script help?
View Single Post
  #8  
Old 01-23-2014, 03:45 PM
Dunge0nMastr
Hill Giant
 
Join Date: Oct 2002
Location: Rockville, MD
Posts: 124
Default

Code:
quest::modifynpcstat("special_attacks","SERFTrMCNIL");  #example of course
using the table: http://www.eqemulator.net/wiki/wikka...SpecialAttacks

Generally works - u can use the A/B to make him immune to melee/magic damage. Not sure the affect of making him immune to aggro might have mid fight cant say ive ever played with it.

I have a mob in an old custom event of mine that would port to a spot, and become rooted, (quest::modifynpcstat("runspeed","0.0");, then after X adds are killed, he jumps back into the fight, again modifying the npcstats and the runspeed. Can easily use this for just about any stat, and works great on making mobs immune/vulnerable to different attacks (again using A or B) or making them get harder as a fight goes on (Timers + counters for increased stats)
__________________
Bront -Server Admin/Owner and Lead Quest Dev for Kildrukaun's Prophecy
http://kpemu.com/
Reply With Quote