I have no code regarding this part of the issue, only thing i did was make it so when I type in chat its changes my faction to number 1 for testing reasons. On live you got a debuff called, http://www.wowhead.com/spell=43869/youre-a-zombie. This debuff changed your faction so we were attackable by everyone but other zombies. On TC this spell doesn't do that and i'm trying to figure out a way around it. Clearly SetFaction doesn't work on players or is simply very buggy!