public void set_maxHP(KBEngine.Entity entity, object v = null) { if (!hasRenderObj(entity)) { return; } SceneEntityObject target = (SceneEntityObject)entity.renderObj; target.set_maxHP(entity.getDefinedProperty("maxHP")); }