getLife

getLife

> Functions

Returns the current life of the entity with id entity. Use getLife() with no parameter to get your own life — in JavaScript/TypeScript and Python, the property is Fight.me.life.

Example: heal yourself if your life is below 50%:

Parameters
Return