Anti-Villain (3.5e Feat)
From D&D Wiki
 Anti-Villain [Archetype]
You aren't really evil, you know it. Killing people makes you sick... but its necessary.
Prerequisite: Any non-evil.
Benefit: See below
Special: If you ever stop qualifying for this feat, you can trade it for another archetype feat that you meet the prerequisites of.
Archetype Feat Bonus are based on HD.
- 1 HD: You are considered evil for the purpose of qualifying for feats, prestige classes or other prerequisite.
- 3 HD: You are no longer prone to alignment changes or failing a code of honor by doing good or evil actions.
- 8 HD: You are considered evil whenever it is advantegous to you (you can for example wield a holy weapon without penalty or being affected by holy word).
- 15 HD: You gain immunity to mind-affecting effects.