I asked about this a week ago and have been working through my issues, but I still can't figure out how to make a weapon's damage scale off of missing hp.
If I try to use Main.player[Main.myPlayer].statLifeMax, Main.Player.statLifeMax, or other variations in the item damage, I get build errors.
Conversely, if I try to use projectile.damage = either of those, Main.player[projectile.owner].statLifeMax or other variations, it simply doesn't update the damage.
Is there any way to do this or must my dreams be dashed to bits against the cold, jagged cliffs of C sharp?