I've been tinkering with a mod that makes vampires resurrect unless they are killed with silver or Dawnguard weapons. This is accomplished by a self-cast magic effect that a vampire will do to itself on dying when killed by a person wielding those weapons, and an else statement for another self cast magic effect that lets them resurrect if not killed that way. My problem is that I would like to make vampires killable by werewolves, and when in beast form a werewolf cannot wield those weapons.
While it's true that I can just grant a keyword or perk for the game to recognize a player in beast form as being equipped with silver or Dawnguard weapon, I would rather not treat werewolf claws as silver weapons. Instead, I'd specifically I'd like to make a werewolf stop the magic reanimation effect of the vampire by using the "feed" process to chew up the vampire's heart. My problem is, I don't know what flags the CK uses to mark an NPC corpse as "already fed" on, nor what it uses to mark a corpse as feedable by werewolves. By default, werewolves cannot feed on undead or animals, but the Savage Feeding perk allows them to feed on animals, eventually. I've tried looking at the savage feeding perk to see what it flags for animals that allows them to be fed on with the hopes that I can do the same for vampires, but I can't make sense of the script.
Does anyone know a way I can script to allow a werewolf to feed on a vampire, flag it as fed, and then use an if statement to stop the magic effect that reanimates the vampire?