View Single Post
  #2  
Old 10-24-2008, 11:22 PM
bman654 bman654 is offline
Approved Member
 
Join Date: Jan 2008
Posts: 226
Default

look for a file called something like necromancer.atom I believe in data.atom. The unit .atom files contain the data on their special abilities. For some special abilities which are targetted, there will be a line something about targetting_script. It will have the name of a function. This function will be found in ses.kfs most likely in the special_attacks.lua or one of the others. This function dictates which are valid targets. You can either edit the function (which may be used by other abilities too so be careful), create a new function (and tell the .atom file to use it), or just find another targetting function that does what you want and tell the .atom file to use it. Of course things might be a bit different for a target-all attack. Hopefully this at least gets you looking in the right direction.
Reply With Quote