I'm making a mod in which whenever you attack a mob, it returns it's health value after the damage it took, but it always just displays its initial health before I attacked it instead. anyone know how to get around this?
The variable vHealth is the health of the attacked entity 1/20 second after the attack. Don´t forget that you can not use this variable in the attack hook, because it gets filled 1/20 second after the attack!
I'm making a mod in which whenever you attack a mob, it returns it's health value after the damage it took, but it always just displays its initial health before I attacked it instead. anyone know how to get around this?
IDk how but i do know that DESNOs companion mod has a feature similiar to that where it dislays the health on the screen
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumLook on post below...
The variable vHealth is the health of the attacked entity 1/20 second after the attack. Don´t forget that you can not use this variable in the attack hook, because it gets filled 1/20 second after the attack!
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumyes
I tried that and it worked, thanks for the help