private static bool ApplyHealAmount(Entity user, InventoryItem itemUsed, ItemSpec itemSpec) { var healAmount = itemSpec.GetHealAmount(); if (healAmount == 0) { return(false); } user.SetHealth(user.GetHealth() + healAmount); return(true); }