If you just need to change the attacker to 0, you should use SetHamParamInteger.
Also, you are receiving a stack error because you are calling Ham_Killed with ExecuteHamB (which sends to all plugins, including the one calling it) within the Ham_Killed hook, creating a giant loop.