Code:
// select target
if // Bind Sight line of spells
(
spell_id == 500 || // bind sight
spell_id == 407 // cast sight
)
{
action->target = GetID();
}
else
{
action->target = spelltar->GetID();
}
this was his issue in the source... the spell ID he was using had some source code associated with it... if anyone else runs into this issue when making all new spell :p
advice for others... CTRL + F in notepad ++ ... Find All in Files... (usually just look in a single folder at once otherwise it takes too long)
I asked him the ID of the spell.. I searched for it.. and found this tidbit of code in a few seconds
