it's probably possible by adding 4 or 5 lines of code in front of the code which performs an attack calculation for the player using special "if" conditions to check and rewrite the target of whatever type of class(player,mob,homunculus etc.) silver snipers and decoys are(you might need to add a failsafe if it tries to acquire a target it couldn't hit).
alternatively, in a single line you could rewrite the silver sniper/decoy's target by adding a pointer which basically says that your master's last target is your target(and you'd have to run this every single time before each attack), but i don't know how that would end up if that target was out of range so you may need to add a check first which gets the distance between your turret and the monster and also gets your turret's attack range from src and compares them. you also have to refresh it somewhere in between each turret attack somehow even if your character is attacking nothing now, so you might need to create a variable in the memory that remembers the last thing your player character attacked, but you can probably place that within the turret directly. i'm not capable of doing it myself, only imagining how it would work in computer logic.
Edited by Blinzer, 03 December 2016 - 10:21 AM.