Poison doesn't interact with invulnerability

function takePeriodicDamage() added