mob/Player/proc
DamageIcon()
if((src.HP)<=(src.MaxHP)*0.1)
icon='monster.dmi'
icon_state="Green_Monster"
Problem description:
I am trying to make it to when the Player's HP is 10% of their MaxHP it will change the mob's icon.
but i tested this out and nothing happened. Any ideas?
Of course, if you want it to be exactly 10%, change <= to ==