Started by
8BitBunnie
on
Topic category: Help with MCreator software
Hey! I'm trying to make a life steal accessory item, and i need to add health to the player, anybody know how?
(my current code is:
Global Trigger: Entity attacked
if: or, is source entity (sub)type of player
is source entity (sub)type of server player
do
and i'm trying to use the max healt hof event/target entity - current health of event/target entity
Edited by 8BitBunnie on Sat, 05/14/2022 - 05:45
set health of x to <max(max hp of entity, current hp of entity + damage)>?
Where exactly would i put that line of code?
(ignore my above question) i can't put a "<" smbol in set health of event/target entity to