FARemy
Steampunker
Ooooh... Now it works ! Thx a lotTo take away regen, in ModPlayer.UpdateBadLifeRegen put lines like "player.lifeRegen = 0; player.lifeRegenTime = 0;"
For the invulnerability, if you use ModPlayer.PostHurt and have "player.immuneTime = 0;" it would get rid of most of it I think.
If doing this via an accessory, you'll need to set some kind of flag in the ModPlayer class.
[doublepost=1486237047,1486236549][/doublepost]
Math.Atan2 parameters should be Y and then X. I'm not sure if you'll need to adjust it with the MathHelper stuff after that or not.